You can access the values inside an array using the index of the value. An index is a number representing the position of the value in the array, starting from 0 for the first value. You can access the value using bracket notation, such as array[0]. Use console.log and bracket notation to print the first value in your rows array.
Your code so far
// User Editable Region
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 20
Using console.log() function, we would place the array, which is rows within the brackets, along with [either 0, 1, or 2 here depending on the instructions.]
it would appear similar to array[6] but with the array name and the location we are printing.
Example
If I want to print the 5th location in the array dogs, I would do it like this.
console.log(dogs[4]);
I think my example in the previous post is about as good as I can do to assist.
If you view the example, and replace the code in it with the instructions code, you will pass.
As stated, the forum is not to here to provide the direct answers, it is here to help us learn on our coding journeys.
Think of it this way:
If you give me the complete answer to any of the steps, what I have learned to help me towards my goal of learning to code? Only how to copy someone else's code.
This defeats the reason I am on freeCodeCamp, and maybe, hoping for employment in the field. Guiding through examples, or explaining without providing the direct result can help me learn and grow.
Wishing you good progress on your coding journey. :slightly_smiling_face: