Design comparison
SolutionDesign
Solution retrospective
Please check on the site. Thank You
Community feedback
- @FarisPalayiPosted over 3 years ago
Nice job completing this challenge. The site responds really well.
A small suggestion would be, instead of using 5
<img>
tags for 5 stars, you can set the image as a background-image and control the number of stars using thebackground-repeat
property. MDN'sbackground-repeat
doc has a similar example. Here's the link.And since these images doesn't give any extra context to users, it's an accessibility good practice too.
Have fun coding ✨
0@SauravionicPosted over 3 years ago@FarisPalayi Thank You very much this method would save time and is efficient. Thank you for suggesting it
1
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