I dont know what to do if this code only have 6 lines … how i can do to pass this test ?
So i have to add one more line ?
Your code so far
let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;
// User Editable Region
secondCharacter = "Test";
// User Editable Region
console.log(secondCharacter);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 10
Instructions for this step:
To see this in action, change your secondCharacter assignment from "Test" to your character variable.
Remember,You don’t need add a new line. @dbaohz2010
I am actually stuck here as well. I changed it to “World” also after as well as “character”, and it still doesn’t work. I can’t find any information other than this thread. I’ve been stuck on it for an hour. I messed around with other lines after that, still nothing. Can’t seem to find an explanation on Google.
Not sure what I am doing wrong.
Welcome to the FCC forum . character is a variable, not a "String". You didn’t need quotation marks around a variable name. Quotation marks is used only for a string property of JavaScript. @kodezz
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.
The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Mannnn, I’ve been stuck on this since last night. Like the coder before me said, there is nothing on Google to help with this in great detail. I was hoping that someone would at least help out by typing the correct syntax…and nothing. I saw other replies from you @hasanzaib1389 which were the same as replies from other people. FINALLY, lol, this reply helped me! Thank you.