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

192
Vistas
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 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