I’m sorry, but my Javascipt isn’t good and I’ve a problem in the second stage.
Where I’m wrong?
Tell us what’s happening:
Your code so far
// Example
var ourName;
// Define myName below this line
var myName = "Massimo";
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
.
Link to the challenge:
Compare this message “You should declare myName with the var keyword, ending with a semicolon”
You’re not supposed to assign it any values yet. The variable name is immediately followed by a semicolon.
Tosca
5
Can you please post the solution?
The idea of this task is to assign a value of urName, for example:
var superpan;
superpan = 'croissant';
As you can see, first i created the var and then i assined a value
1 Like