Declare javascript variables i didn't understood how to write code for that

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

Your code so far

var a;

a = 8;

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; SM-A207F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

Challenge: Declare JavaScript Variables

Link to the challenge:

Look closely at the example for how to declare the variable called ourName. You would do exactly the same thing except the variable you are declaring is called myName.

You should not be setting it equal to a value with the equals sign. The only thing you are doing here is declaring it.

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