Design comparison
SolutionDesign
Solution retrospective
Second project completed. Lots of learning through frustrations and research, please feel free to crush my confidence with your constructive criticism. Please and thank you!
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Layout in general looks good.
Some suggestions would be:
- Instead of using
role="main"
, just explicitly use themain
element so that the structuring would be more clear, though it works just fine, but if there are elements to a specific component, just use that element instead of customizing other. - Don't style the
html
element, you don't typically add styling to thehtml
except for likefont-size
andbox-sizing
. All those stylings should be applied on thebody
tag. - Also, avoid using
height: 100vh
as this limits your content's height based on the remaining viewport/screen's height. Instead replace it withmin-height: 100vh
, this takes full viewport and expand if it needs to. - The
alt
for the person's image should be the name of that personalt="Victor Crest"
, always use a person's name if their image and name are present. - For the stats, since those are "list" of information, it would be great to use
ul
. - Those text in the stats shouldn't be a heading tag since a number like
80k
doesn't really add any content at all and should not use heading tag. - Avoid using multiple
h1
on a webpage, only use at least 1h1
per page.
Aside from those, really great job on this one.
Marked as helpful0 - Instead of using
- @FluffyKasPosted about 3 years ago
Hey, it's a very good solution! Only thing I'd add, perhaps you could experiment with relative units like rem, em, etc next time instead of px ^^
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