@FarisPalayi
Posted
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 the background-repeat
property. MDN's background-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 ✨
@Sauravionic
Posted
@FarisPalayi Thank You very much this method would save time and is efficient. Thank you for suggesting it
@FarisPalayi
Posted
@Sauravionic No problem :) glad I could help