This is a solution to the Huddle landing page with single introductory section challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the page depending on their device's screen size.
- See hover states for all interactive elements on the page.
Mobile Design
- Solution URL: Solution URL
- Live Site URL: Live Demo
- Semantic HTML5 markup
- LESS Preprocessor for CSS
- CSS Flexbox
- Responsive Design (Mobile-first workflow)
- Google Fonts
- Font Awesome Icons
To install and run the LESS preprocessor, follow these steps:
- Install Node.js if you haven't already. You can download it from Node.js official website.
- Install LESS globally using npm:
npm install -g less
- To compile your LESS files into CSS, run the following command in your project directory:
lessc styles/style.less styles/style.css
- Use a task runner like Gulp or configure a watch command to automatically compile LESS when changes are made.
During this challenge, I strengthened my skills in using the LESS preprocessor to manage styling efficiently. I also improved my understanding of responsive design and the importance of using media queries for mobile-first development.
Some key learnings include:
- Implementing hover effects for better user interaction:
button:hover {
background-color: @soft-magenta;
color: @white;
}- Using media queries to adjust layout for different screen sizes:
@media (max-width: 768px) {
background: url(images/bg-mobile.svg) no-repeat @violet;
}In future projects, I want to:
- Explore more CSS preprocessors like SASS for better project scalability.
- Improve accessibility practices for better user experience.
- Enhance animations and transitions for a smoother interface.
- LESS Documentation - Helped me understand how to structure my styles efficiently.
- CSS Tricks - Flexbox Guide - Helped with structuring my layout.
- Google Fonts - For typography styling.
- LinkedIn - Yashi Singh
- Frontend Mentor - Yashi-Singh-9
Thanks to Frontend Mentor for providing these great challenges! They are incredibly useful for sharpening frontend development skills.

