Learn Introductory JavaScript by Building a Pyramid Generator - Step 9

Tell us what’s happening:

Need help on uninitialized part how the heck you do this?

Your code so far


// User Editable Region

let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;
console.log(secondCharacter);
let secondChara;
let uninitialized;
uninitialized = "assigned";

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) 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 9

Assign the string "Test" to your secondCharacter variable

This is just an example of how to assign a string to a variable

uninitialized = "assigned";
variable = "string";
  • instead of uninitialized your variable is secondCharacter
  • instead of "assigned" your string is "Test"

Thank you for the help little bit confusing but is there a discord community, forums aren’t my cup of tea?

yes, there is a discord

Alright after that can I have the discord link?

it looks like the link in the article still works