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

Rating Box - Working JS. Cant figure out alignment of and

Garf228 90

@Garf228

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


How do I align the UL elements?

How do I center the number text in each LI?

Why is the star.svg not rendering? It worked on Live Server.

Community feedback

TITOR 340

@hectorestebanm

Posted

Hola que tal, estaba viendo tu código y note algo, que tenes dos veces la imagen icon-star.svg. Una dentro de tu raiz principal y la otra dentro de la carpeta images. Deberias eliminar la duplicada

Te recomiendo que pruebes asi: <img src="images/icon-star.svg" class="star" alt="star"> Puede que la barra / antes de images no te la este tomando como referencia al archivo.

Podes alinear los elementos li con display flex, para que te queden centrados.

Espero te sirvan estas observaciones, a seguir adelante.

Marked as helpful

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