I could also use some help with what my error is


#1

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

I could also use some help with what my error is. It's similar to what ascesezal communicated, as well. Any help would be appreciated.


Whats my problem then
#2

What does the error say @wes.laidiggmail.com


#3

Oops, try again. It looks like you didn't log your whole name to the console.


#4

You see... here your actually printing a string.. your trying to print the actual variable so...

console.log(myName);

#5

Got it...thanks for your help!


#6

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