Learn Introductory JavaScript by Building a Pyramid Generator - Step 8

Tell us what’s happening:

need help with task nummber 8 it is the camel case how to use camel case to declare a new secondcharacter.

Your code so far


// User Editable Region

let character = 'Hello';
console.log(character);
character = "World";
console.log(character);




// 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/126.0.0.0 Safari/537.36 Edg/126.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 8

just copy the exact letters they gave you in the instructions
Use camel case to declare a new secondCharacter variable.

secondCharacter is camel case already

2 Likes

Hi there!
camelCase means, when you create a variable name with more than one words. You need to start it’s all words with upperCaseLetters, except the first one.

2 Likes

so just like this secondCharacter?

1 Like

yes just type secondCharacter as it is already camel case

1 Like

got it thanks you verymuch dear.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.