Lesson 23-26 javascript. i can't seem to figure out whats wrong with my code


#1



Replace this line with your code.


#2

Please paste in your code so we can help you


#3

// On line 2, declare a variable myName and give it your name.
var myName="king";
// 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.
var myName="ki";
// On line 9, use console.log to print out the myName variable.
console.log ("myName");


#4

If you want to print out a variable you don't add quotes..
Like this: console.log(myName);


#5

thanks for the feedback/help