Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

185
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!