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

268
Views
How can I change the order of the boxes

The order of the numbers in my box is as follows: enter image description here

function boxNumbers(){
        let boxes = document.querySelectorAll('.box')
        boxes.forEach((box,i)=>{
        
            if(String(i).length==1 || (String(i).length==2 && Number(String(i)[0]))%2==0){
                //box.innerHTML = `${100-i}, i=${i}`
        
              box.innerHTML = 100-i 
            }
            else{
                box.innerHTML = String(Number(`${9-Number(String(i)[0])}${String(i)[1]}`)+ 1) 
        
              
            }
        })
        
        }

how can I change it to look like this:

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The way the pawns are moving, I think probably your board is not setup properly?

Shouldn't it be something like this:

enter image description here

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