Design comparison
Solution retrospective
Do I really have to spam <img>
tag for creating stars? Or there is another, more clever way to create this?
Community feedback
- @cosmoartPosted over 2 years ago
Hi Kapline! 👋 Congratulations on completing this challenge... I also had the problem of using img for the stars, luckily I solved it by editing the svg of the stars and using background in the before pseudo-element. I address this issue in my repository: https://github.com/cosmoart/Social-proof-section-solution#what-i-learned
I hope this helps you 😁
1 - @GeorgeFloodPosted over 2 years ago
Typically, you wouldn't use img tags for svg's, though these are none responsive svg's so what you've done is fine. Usually, it's best to use the '<use>sprite' method with svg's though! so check that out. otherwise, this looks very well done
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