Tell us what’s happening:
i dont understand what im doing wrong the hint says you should use the assignment operator to reassign character
Your code so far
// User Editable Region
let character = 'Hello';
console.log(character";
let programmer='character';
programmer = "world";
// 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/129.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 6
a2937
September 21, 2024, 11:11pm
2
ryanstruckus:
console.log(character";
You have a quote that is making everything a string. In addition there is no closing parentheses )
. Every time you open a parenthesis (
, you have to close it.
Following that , you need to reassign the character
variable. You have defined a variable called programmer
and changed its value.
based on the last reply i changed to this still no luck
let character = 'Hello';
console.log(character';
let character='hello';
character = 'world';
Teller
September 22, 2024, 12:33am
4
Hi @ryanstruckus
I see where you got World
from in the previous step.
Please remove the line indicated below.
For line 2 of the code, change the quote mark into a closing parentheses, to match the opening one.
ryanstruckus:
console.log(character';
When you have done the above two fixups, the next hint message is all about capitalisation.