My code is not working and i have googled and it is still not working pls can i have some help it is annoying me
Your code so far
const character = "#";
const count = 8;
const rows = [];
// User Editable Region
for () {
console.log(`Iteration ${iterator}`);
}
// 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/125.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 28
first you need to post your code here as preformatted text using → </> option and copy paste your code between a pair of back tiks, instead of screenshot.
no it is step 32 now but here is my code const character = “#”; // The character to repeat
const count = 8; // The number of times to repeat the character
const rows = ; // The array to store the repeated characters
// Create a for loop to iterate ‘count’ times
for (let i = 0; i < count; i++) {
console.log(i); // Log the current value of i
rows.push(character); // Add the character to the array
}