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

187
Visualizações
How match the 2nd 5th 8th 11th etc using Remainder/modulo

I know how to do this with CSS, so in my mind the logic should be the same. However I cannot work out the logic using remainder in js

Here is how I need to split things:

1 file 'input.mp4' | 1 % 3 = 1
2 inpoint 1 | ?
3 outpoint 2 | 3 % 3 = 0
4 file 'input.mp4' | 4 % 3 = 1
5 inpoint 3 | ?
6 outpoint 4 | 6 % 3 = 0 
7 file 'input.mp4' | 7 % 3 = 1
8 inpoint 5 | ?
9 outpoint 6 | 9 % 3 = 0

So the issue I am having is, how can I target the 2,5,8. I cannot divide it by 2 as that will clash with any whole numbers. 4,6,8,10 etc

about 4 years ago · Juan Pablo Isaza
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