Design comparison
Solution retrospective
Any feedback and advice would be greatly appreciated
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, great work on this. Layout in desktop looks really nice and the mobile as well. Though the desktop layout screen time could be adjusted on the
media
query, since right now, the layout goes in mobile at point1200px
which is very far away for intended mobile layout. The desktop layout could use more of those.Some other suggestions would be:
- Do not use
/
root path in github, it will work on our local machine but on github, it does not. So youbackground-image
in thebody
tag should have used this:
background-image: url(./images/bg-pattern-top-desktop.svg), url(./images/bg-pattern-bottom-desktop.svg);
It should have been
./
or just simpleimages
without the front path.( It feels nice that you are explaining things in the html )
- The
alt
attribute on those stars images should have been left empty likealt=""
. Since those stars are just decoration, you don't want to put aalt
on them, because if a screen reader picks it up, it will read all those 15 starsalt
values and will confuse or get a user annoyed. A good rule of thumb, if an image only acts as a decoration, usealt=""
on it, but if the image adds content, then use a descriptivealt
value. - The 3 ratings as well could have been wrapped inside a
ul
element, since those are list of ratings. - When using heading tags, make sure you are not skipping any level. If you use
h4
make sure thath1, h2, h3
is present in the webpage. - The
alt
value for each of the person in the testimonial could have used their names as the value, likealt="Colton Smith"
. - I wouldn't use section inside the each of the testimonial cards. I would use section instead to group the whole 3 testimonials cards, because it is testimonial section.
Other than those, great job.
Marked as helpful0@praisepelumiPosted about 3 years ago@pikamart Thank you so much for the detailed response? I really appreciate it!
0 - Do not use
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