Basic JavaScript - Declare JavaScript Variables

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

var myName = "Tarik";


Your browser information:

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

Challenge Information:

Basic JavaScript - Declare JavaScript Variables

Use the var keyword to create a variable called myName.

Hint
Look at the ourName example above if you get stuck.

you dont need to add a value to it … Hope this helps…

1 Like

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