Design comparison
Solution retrospective
hi there! this is my solution to the social proof section challenge. feel free to look through my code: constructive criticism and suggestions are welcomed. thank you! <3
Community feedback
- @vanzasetiaPosted almost 3 years ago
👋 Hi @cujothechief!
I notice that in the GitHub repo, there's a
script.js
file and it's also empty. I would recommend removing it from the repo. It might confuse the other developer (it might be you in the future).I also notice that you are using the Font Awesome icons for the star icons. Do you know that Frontend Mentor has provided the star icon for you?
Anyway, 🎉 congratulations on finishing this challenge! 🎊 I have some feedback on this solution:
- Accessibility
- Swap the
div
withul
andsection
withli
. Swap thei
tag withspan
(if you want to keep using Font Awesome).
- Swap the
<div class="stars"> <section> <i class="fas fa-star"></i> <p>Rated 5 Stars in Reviews</p> </section>
- Your attribution should go outside the
main
landmark and wrap it withfooter
instead.
<body> <main> page content goes here... </main> <footer class="attribution"> attribution links goes here... </footer> </body>
- For the avatar, you can use the author's name as the alternative text.
- I would recommend wrapping each
p
tag withblockquote
for the testimonial. - Styling
- The below content should be aligned to the left on desktop view.
<h1>10,000+ of our users love our products.</h1> <p>We only provide products combined with excellent customer service. See what our customers are saying about our services.</p>
- Other
- Remove the
script
tag.
- Remove the
That's it! Hopefully, this is helpful!
Marked as helpful1 - Accessibility
- Account deleted
Hi there 👋 Congratulate on finishing your project 🎉. You did a great job 🔨
I give some suggestions that I hope help you take your project to the next level 📈. In user cards, user names should be in another color like dark pink, which is currently its too light or looks like a gray color 😉
Happy coding ☕
Marked as helpful0
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