Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

205
Vistas
How to create graphic from numerical argument JS (complete newbie)

(added specifics this time)

I am messing around with js at the moment and am now working on a project that takes an argument (4.5) and generates a graphic for a number of filled squares in a bar corresponding to the rating out of 5. Thus far, I have been stumped as to how to achieve this and would appreciate any help anyone is willing to offer This is the look of the rating system im trying to acheive

I am hoping to acheive this by filling these divs with a color corresponding to the number.

<div style="border-radius: 0px;"></div>
        <div style="
        border-radius: 0px;
    "></div>
        <div style="
        border-radius: 0px;
    "></div>
about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda