Design comparison
SolutionDesign
Solution retrospective
I would like to have feedback from this project so that I can make corrections where necessary. Thanks.
Community feedback
- @muhammadshajjarPosted about 3 years ago
Hi sylvamadu!
I have some feedback on your solution.
- Your
background-image
is not showing,background-image: url('img/pattern-background-mobile.png');
is an absolute path. it starts from whatever your root is, which might be different for local environment and for deployment environment, so i suggest you to try relative path . it is not dependent on which environment it is. e.gbackground-image: url('./img/pattern-background-mobile.png');
etc. - change should behave as it controls something, and for controlling prefer button but it is 100% not a
p
tag. And proceed to payment and cancel implies navigation so should probably bea
anchor tags. - To overcome your accessibility issue of adding landmarks is you should need to add some semantic markers to designate sections of the page as the header, navigation, main and footer e.g:
<main> <div></div> </main> <footer> </footer>
- Your images should have
alt
attribute but for decorative images, you should leave alt as blankalt=""
and userole=" presentation"
oraria-hidden=" true"
to make sure all screen readers ignore those images. In your case, the music icon and your hero image are decorative.
Apart from this very well done.
2@sylvamaduPosted about 3 years ago@muhammadshajjar thanks. I deeply appreciate the feedback. I'll work on it soon.
0 - Your
- @Dharmik48Posted about 3 years ago
Hey👋, Good job with completing the solution! But here are a few things you need to improve:
- At around
800px
the contents seem to be squeezed so try to fix it, maybe add amedia-query
. - Also at bigger screens the width of the card way more than the design so decrease it a bit.
- Add some
hover
effects withtransition
to increase experience!
1 - At around
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