Design comparison
SolutionDesign
Community feedback
- @Nadine-GreenPosted almost 2 years ago
HEY RIYA!
I noticed that your container was vertically centered, a quick fix for this would be the give the body a height of 100vh
height:100vh
then a display of griddisplay: grid
and then using the codeplace-items: center
You also have some accessibility issues, I can help you with one of them, instead of using a
div
for<div class="card">
, it would be better to use a more semantic element likemain
, doing this will not only make your page more accessible but you will also have fewer errors.IF THIS WAS HELPFUL IN ANY WAY, DON'T HESITATE TO MARK IT AS HELPFUL :)
HAPPY CODING!
0
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