Design comparison
SolutionDesign
Community feedback
- @ToHXPosted almost 3 years ago
Hi there,
as I was handing in my solution shortly after yours I was taking a look at your code as the solution does look really good.
I have some things I noticed as I am curious about your decisions :-)
- You didn't use box-sizing: border-box;
- You did give the container a vw and vh, but from what I learned width 100vw introduces overflow and instead of height 100vh you should use min height so the content can scroll when needed
- You did use a <div> before the <main> where instead I would've guessed you use it after the main
- You could give the card a max-width instead of the width
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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