Design comparison
Solution retrospective
hmmmm
Community feedback
- @itssumoPosted over 3 years ago
ohk I'll Improve that I am still new to this thanks for the suggestions
0 - @pikapikamartPosted over 3 years ago
Hey, great work on this one. Layout in desktop is good though why did you not create the mobile state here. It will be really beneficial that whenever we submit solutions, making sure that it is completed okay.
Suggestions would be that:
- On the desktop, if you inspect your layout in dev tools from the bottom, you will see that the sizes of the cards scale, because you are using
height: %
but the problem is that, your element is absolute which I think is not the ideal property on this. Since they are absolute, they are relative to the parent, but since the parentbody
is not relative, therefore the cards takes on the viewport which is not good. Instead of %, use other units likerem
.
1.1. Also It will be really good to use other property here and not using
position: absolute
. You can make thebody
have adisplay: flex
to achieve that layout really well.- Do not use multiple h1 tags in a page. It may beneficial to use h1 on this, but sr only or screen reader only. Then use other header tags like h2 to those titles.
Those only, but that
position: absolute
I think is not the proper choice in here. Use some flexbox or grids, that will be really awesome. The mobile layout as well, creating them is necessary.But still, good job on this^
0 - On the desktop, if you inspect your layout in dev tools from the bottom, you will see that the sizes of the cards scale, because you are using
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