Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
πΎHello @mohammadT9030, congratulations for your new solution!
Your solution is great and really responsive, this is amazing. Now all you miss is to improve the semantics and add a
margin: 20px
to avoid the container to touch the screen edges while scaling.To improve the semantics, remove the
div
and add<main>
, you can also reduce the code keeping all content inside the div / main and keep the content (img, h1 and p) alone without additive divs.π I hope this helps you and happy coding!
Marked as helpful1
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