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
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Styled Components - For styles
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;
}
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.
- Flexbox Guide - This helped a lot while using Flexbox layout. I really liked this site and will use it going forward.
- Frontend Mentor - @Harshitsoni2000
- GitHub - @Harshitsoni2000