Submitted about 3 years agoA solution to the News homepage challenge
Responsive News Hompage Solution made with Vanilla JavaScript
accessibility, sass/scss
@kxnzx

Solution retrospective
What I learned:
-
There is an easy fix to make multiple flex-items the same width by setting the width of the flex-children on 100%.
-
I have set the root font-size to 62.5% for an easier workflow. This makes the new root value 10px which equates to 1rem:
html {
box-sizing: border-box;
font-size: 62.5%; /* 62.5% of 16px browser font size is 10px */
}
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on kxnzx's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord