It says I need a second console.log statement I believe I have one my code is above please let me know what I am missing I have been stuck here for days…
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
console.log(rows[0]);
// User Editable Region
rows[2] = 10;
console.log(rows[2] = 10);
console.log([rows]);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 18
please view the screen shot I have been stuck here for a min is it freecode camp I think I am using bracket notation I cant find anything on Web3 schools
exactly, it’s not correct, you must not have the assignment in the console.log, you should have the assignment only once and that is without the console.log
They did not provide you the answer, only a hint. Your array is titled rows and you got that right, now look at the example given and replace terms. Do not add additional syntax.
The array is defined above, so you are only adding the last two lines of code.
We have blurred this solution (with [spoiler][/spoiler] tags) so that users who have not completed this challenge can read the discussion in this thread without giving away the solution.