hi guys who can help me with step 23 of java scrip
it asks to make a string variable cities with 3 elemet (london, new york, maumi)
and then asks to change the las element with Mexico citiy
i check one one but it didnt work !
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
// User Editable Region
let cities=["London","New York,Mumbai"];
console.log(cities);
let cities=["london","New York","Mexico City"]
console.log(cities);
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 23
Hello Guys
who can help me with the step of 23 Java Script?
Your code so far
let character = 'Hello';
let count = 8;
let rows = ["Naomi", "Quincy", "CamperChan"];
// User Editable Region
let cities = ["london","New York","Mumbai"];
console.log(cities)=["london","New York","Mexico City"];
// User Editable Region
console.log(rows);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 23
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.