Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

I used pure HTML and CSS with the approach of mobile first design.

DEEP PATEL 395

@DeepPatel6128

Desktop design screenshot for the Social proof section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Please try to and help me optimize the code.

Community feedback

P
tediko 6,680

@tediko

Posted

Hello, DEEP PATEL! 👋 Congrats on finishing another challenge! Your solution looks very good and also responds well. Here's my few tips:

  • Change the alt attributes for the avatar images, as they don't add any extra context for screen reader users. Since your images are decorative your alt text should be provided empty (alt="") so that they can be ignored by assistive technologies.
  • You repeat your HTML code with stars images which is unnecessary. Find the way to use only one star image for a span with stars images. You can do it easily by using background-repeat approach in your css. Your approach is also correct, so you don't have to change that. Just wanted to show you other way to do it.

Good luck with that, have fun coding! 💪

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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