So I'm having this issue with this one lesson on JS can anyone help? What am I doing wrong?


#1

// On line 2, declare a variable myName and give it your name.
var myName = ChampionMode314
// On line 4, use console.log to print out the myName variable.
console.log("myName")
// On line 7, change the value of myName to be just the first 2
// letters of your name.
myMname = Ch
// On line 9, use console.log to print out the myName variable.
console.log("myName")


#2

well I thought I figured it out


#3

I know it's a little frustrating, but this was just taught to you so I think the best way for you to learn how to fix this would be to go back through the lessons and read through them again just to see what's going on. I promise that if you do this it will be more beneficial to you in the long run rather than someone just telling you what to do.

I hope this helps, and good luck! :+1:


#4

// On line 2, declare a variable myName and give it your name.
var myName = ChampionMode314
// On line 4, use console.log to print out the myName variable.
console.log("ChampionMode314")
// On line 7, change the value of myName to be just the first 2
// letters of your name.
myName = Ch
// On line 9, use console.log to print out the myName variable.
console.log("Ch")


#5

Not Sure what Im doing wrong


#6

It was the parenthisis I figured it out