responsive page with Flexbox

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@nursh
HTML
- Texts should be using the <p> tag instead of <div> tag for semantic purposes. See your principal-text and sub-text classes
- For the date class, use the <time> tag wrapped in a <p> tag. eg.
<p><time datetime="2020-06-28">28 Jun 2020</time><p>
CSS
- To set the height of the body, use
min-height: 100svh
instead withmin-height: 100vh
as a fallback - Avoid setting the height of a container explicitly. Let the content determine the height of the container.
- Instead of using px units for font-size and other properties. Use responsive units like em, rem.
Marked as helpful
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