Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 2.27 KB

File metadata and controls

74 lines (51 loc) · 2.27 KB

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.

Table of contents

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

On Desktop On Mobile

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Styled Components - For styles

What I learned

We can center the fab-icons both horizontally and vertically within the circles using FlexBox.

<div class="fab-circles"><i class="fab fa-facebook-f"></i></div>
.fab-circles {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

Continued development

I want to continue focusing on learning flexbox and grid layout more. This is the concept that I need a lot of practice to get comfortable with.

Useful resources

  • Flexbox Guide - This helped a lot while using Flexbox layout. I really liked this site and will use it going forward.

Author