Tell us what’s happening:
i have trouble with typing the correct syntax for this problem. i get the message “use bracket notation on the rows column”. I have done this but it still is incorrect. i am on step 21
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
console.log(rows[0]);
// User Editable Region
let row = ["Naomi", "Quincy", "CamperChan"];
row["CamperChan"] = 10;
console.log(row["CamperChan"]);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 21