scrimba
Extracurricular challenges : The Frontend Developer Career Path
Challenge: Loop Olympics - Gold Medal
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Challenge: Loop Olympics - Gold Medal
AboutCommentsNotes
Challenge: Loop Olympics - Gold Medal
Expand for more info
index.js
run
preview
console
// Assigment - Loop Olympics - Gold Medal
// 1 - Create an array that mimics a grid like the following using nested for loops:
// [[0, 0, 0],
// [0, 0, 0],
// [0, 0, 0]]

// 2 - Create an array that mimics a grid like the following using nested for loops:
// [[0, 0, 0],
// [1, 1, 1],
// [2, 2, 2]]

//3 - Create an array that mimics a grid like the following using nested for loops:
// [[0, 1, 2],
// [0, 1, 2],
// [0, 1, 2]]

// 4 - Given a grid like the previous ones, write a nested for loop that would change every number to an x.
// [["x", ...],
// ["x", ...],
// ["x",...], ...]
Console
/index.html
-8:42