Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

197
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda