I still dont know what to do for Challenge 15


function firstRock(){
let all_rock = allRocks();
first_rock = all_rock[0];
return first_rock


You can shorten it to:
function firstRock(){ return allRocks()[0]}

or even
const firstRock = () => allRocks()[0]

Are you getting an error with your code? If so, what is allRocks() returning?


Upon creating a new pen from your code using codepen.io the first errors received were due to the types of quotes you are using.

Next was that you’re defining box by its coordinates and not the contents. So box was returning B1, etc instead of “v”

Lastly you were returning [rows][columns] and not isShips

Here is your code updated at codepen