This is a solution to the Huddle landing page with alternating feature blocks challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
- Solution URL: Huddle Landing Page w/ Alternating Blocks (SASS + Mobile-first + BEM) | Frontend Mentor
- Live Site URL: https://huddle-landing-page-with-alternating-feature-blocks-blush-ten.vercel.app/
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Semantic HTML5 markup
- Mobile-first approach
- Flex Layout
- BEM naming convention
- SASS - Sass modules
- Frontend Mentor - @melvinaguilar
When using sass
in order to build this solution
- Install
sass
if not yet installed:
npm install -g sass
- Run build command from command line:
sass assets/sass/main.scss assets/css/style.css
- If you want to edit the code and test, in the root folder of this repository, run this command from the command line:
sass --watch assets/sass/main.scss assets/css/style.css
.
├── assets
│ ├── css
│ │ ├── style.css
│ │ └── style.css.map
│ ├── images
│ │ ├── bg-hero-desktop.svg
│ │ ├── bg-hero-mobile.svg
│ │ ├── favicon-32x32.png
│ │ ├── icon-email.svg
│ │ ├── icon-location.svg
│ │ ├── icon-phone.svg
│ │ ├── illustration-flowing-conversation.svg
│ │ ├── illustration-grow-together.svg
│ │ ├── illustration-mockups.svg
│ │ ├── illustration-your-users.svg
│ │ └── logo.svg
│ └── sass
│ ├── abstracts
│ │ ├── _animations.scss
│ │ ├── _mixins.scss
│ │ └── _variables.scss
│ ├── base
│ │ ├── _page.scss
│ │ └── _reset.scss
│ ├── component
│ │ ├── _attribution.scss
│ │ ├── _buttons.scss
│ │ ├── _heading.scss
│ │ ├── _horizontal-list.scss
│ │ └── _screen-reader.scss
│ ├── layout
│ │ ├── _card.scss
│ │ ├── _footer.scss
│ │ └── _header.scss
│ └── main.scss
├── design
│ ├── active-states.jpg
│ ├── desktop-design.jpg
│ ├── desktop-preview.jpg
│ └── mobile-design.jpg
├── index.html
└── README.md