Assim esta certo?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

var myName = "Kalline";
let myAge = 20;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Declare JavaScript Variables

Link to the challenge:

You are supposed to just declare the variable, not declare and initialize. It should have the form of:

var myFavoriteFood;

Note that I am not initializing it with a value.

There’s nothing wrong with initializing variable, but you weren’t told to do it here.

1 Like

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