• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

244
Views
¿Cómo puedo agregar piezas de ajedrez a mi código sin cambiar mucho?

Básicamente, solo quiero agregar las imágenes de las piezas de ajedrez en la posición correcta a la que pertenecen, pero sin cambiar mucho el código.

 //This is my Javascript code var numbers = new Array(10); function drawChessboard() { for (var row = 1; row <= 4; row++) { numbers[row-1] = new Array(10); document.write("<tr>"); for (var col = 1; col <=4; col++) { numbers [row-1][col-1] = row*col; document.write("<td class='dark'></td>"); document.write("<td class='light'></td>"); } document.write("<tr>"); for (var col = 1; col <=4; col++) { numbers [row-1][col-1] = row*col; document.write("<td class='light'></td>"); document.write("<td class='dark'></td>"); } document.write("</td>") }

}

about 3 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 Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error