Design comparison
Solution retrospective
Hello 🖖,
My naming sense and css writing style is still messy. I would love to have opinions on that !
Community feedback
- @pikapikamartPosted almost 3 years ago
Hey, really nice work on this one. The overall layout looks great.
Semandr already gave information about where you can see
bem
methodology which I really like as well:>Here are some other suggestions for the site:
- Avoid using
height: 100vh
on a large container like themain
as this makes the element's height capped based on the viewport/screen's height. Instead usemin-height: 100vh
so that the element will expand if it needs to. - Those wave-background-images, they could just be used as a value for the
background
property of eitherbody
ormain
tag on this one so that you could avoid creating extraimg
tag. But if you insist on usingimg
tag, add an extraaria-hidden="true"
on theimg
tag so that they will be hidden for screen-reader. - You could change the
header
tag on this intodiv
sinceheader
tag is used for sectioning when there is a content but the image that it nest is not visible since it has analt="'
which should be. You can useheader
inside ofarticle
, you can have a search about more into usingheader
as sectioning. - Extra
aria-hidden="true"
on the vector/illustration and for the music-icon as well.
Those only, actually the site looks great to be honest^^. Great job again on this one.
Marked as helpful1@derrick-itPosted almost 3 years ago@pikapikamart Thanks for the guide !! I forgot that i could just use it as a background-image instead of playing absolute html image. also i'll read things about
aria-hidden
and refactor this real soon1 - Avoid 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