Design comparison
Solution retrospective
I know that your time is limited and important, but it's going to mean a lot if you leave a feedback down below. Thanks! :)
I know that I've use only flexbox and could've grid also, but it was just a challenge for me to see how I'm going to accomplish this challenge.
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Layout in desktop looks fine, the elements are just spaced-out more than the original. It is somehow responsive and the mobile state looks great.
Some suggestions would be:
- It would be great to have a base styling with these props:
html { box-sizing: border-box; font-size: 100%; } *, *::before, *::after { box-sizing: inherit; }
Using this, element's will be easier to handle in terms of sizes since
padding
andmargin
won't add any extra size to it, compared to when it is not using that property.- You don't need to use
height: 800px
on thebody
you could just remove that and let the element inside it define the size of thebody
tag. - Each of those stars are only decoration. Decorative image must be hidden at all times by using
alt=""
and extraaria-hidden="true"
attribute on theimg
tag. - Also, instead of using
img
for each stars, you could have use those inside abackground
property. Have a search about adding multiple images inbackground
property. This will save you up some htmlt element that is not really needed. - When wrapping a text-content do not just use
div
to wrap it, use meaningful element like ap
tag if it just a regular text or heading tag if it is an heading. - Person's
img
should be using the person's name as thealt
likealt="Colton Smith
. Lose the wordimg
. When usingalt
attribute, avoid using words that relates to "graphic" such as "Img or image" and others. Animg
is already an image/graphic so no need to describe it as one. - The person's name as well their position could just use a
div
and notul
since it is not really needed. Also the person's name should be a heading tag likeh2
since they are the focal point of the section.
Aside from those, great work again on this one.
Marked as helpful2
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