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
- Solution URL: View solution URL here
- Live Site URL: View live site URL here
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- I learnt how to use CSS variables to assign values to them then call it letter while coding. I used it to get the colors so that i don't have to copy and paste colors, i'll just call the color variable var()
:root{
--Violet: hsl(257, 40%, 49%);
--SoftMagenta: hsl(300, 69%, 71%);
}
body{
background-color: var(--Violet);
}
.btn:hover, .btn:active{
background-color: var(--SoftMagenta);
}
- I practiced more on using font icon library for the social icon and setting the size using font-size: ;
<a href="#" class="icon">
<i class="fa-brands fa-facebook-f"></i>
</a>
<a href="#" class="icon">
<i class="fa-brands fa-twitter"></i>
</a>
<a href="#" class="icon">
<i class="fa-brands fa-instagram"></i>
</a>
- I want to continue focusing and learn more on using CSS variables.
- Website - Abiodun-Omoniyi Victory
- Frontend Mentor - @preciousvictory
- Twitter - @preciousvicky_