Skip to content

Ayokanmi-Adejola/Huddle-Landing-Page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Huddle landing page with single introductory section solution

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.

Overview

The challenge

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

Screenshot

Desktop Design

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties (CSS variables)
  • Flexbox
  • Mobile-first workflow
  • Google Fonts (Poppins & Open Sans)
  • Font Awesome icons
  • Responsive design principles

What I learned

This project helped me practice several key frontend development concepts:

  1. Mobile-first responsive design: Starting with mobile styles and progressively enhancing for larger screens
  2. CSS custom properties: Using CSS variables for consistent color theming
  3. Flexbox layouts: Creating flexible layouts that work across different screen sizes
  4. Hover effects and transitions: Adding smooth interactive elements with CSS transitions

Key code snippets I'm proud of:

/* CSS Custom Properties for consistent theming */
:root {
  --violet: hsl(257, 40%, 49%);
  --soft-magenta: hsl(300, 69%, 71%);
  --white: hsl(0, 0%, 100%);
}

/* Smooth hover transitions */
.register-btn:hover {
  background-color: var(--soft-magenta);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}
<!-- Semantic HTML structure -->
<main class="main-content">
  <img src="./images/illustration-mockups.svg" alt="Illustration" class="illustration">
  <div class="content">
    <h1 class="title">Build The Community Your Fans Will Love</h1>
    <p class="description">...</p>
    <a href="#" class="register-btn">Register</a>
  </div>
</main>

Continued development

Areas I want to continue focusing on in future projects:

  • CSS Grid: While this project used Flexbox effectively, I'd like to explore CSS Grid for more complex layouts
  • Accessibility: Adding more comprehensive ARIA labels and keyboard navigation
  • Performance optimization: Implementing lazy loading for images and optimizing font loading
  • Advanced animations: Creating more sophisticated hover effects and page transitions

Author

About

A responsive landing page solution for Frontend Mentor's Huddle challenge. Built with HTML5, CSS3, and mobile-first design principles. Featuring smooth hover effects, custom CSS properties, and Flexbox layouts optimized for both mobile and desktop viewing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages