Design comparison
SolutionDesign
Community feedback
- @faha1999Posted about 2 years ago
Hello, David Congratulations on finishing this project. It's lovely and great on the whole! Just a little tip:
- You might want to use semantic tags like the
<main>
to wrap your code, instead ofdiv
. like
<main class="grid-container"> </main>
This would help improve accessibility.
- remove the below code to the
.grid-container
. It will center everything
.grid-container { /* margin: 30px auto; */ /* padding: 0 auto;*/ }
I hope it will work. Happy coding.
1 - You might want to use semantic tags like the
- @Fola-JoePosted about 2 years ago
A great work you have here!
Although, you should make use of the mobile image for the mobile view. You could add it alongside your desktop image in your html code and use this css code:
@media screen and (max-width: 425px) { .desktop-img { display: none; } } @media screen and (min-width: 426px) { .mobile-img { display: none; } }
I hope this helps, happy coding!😀🎊
1
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