Basic JavaScript - Declare JavaScript Variables

Tell us what’s happening: I think I am entering the right code but it doesn’t pass me

Describe your issue in detail here.

Your code so far


var ourName = "freecodecamp";






Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Declare JavaScript Variables

Welcome to the forum @leilihashemi !

Use the var keyword to create a variable called myName.

I hope by providing the instructions, it will help you see the mistake.

Do not assign anything to the variable. It just asks us to create it.

Happy coding! :sun_with_face:

Thank you for pointing that out!

1 Like

You are very welcome @leilihashemi !

Happy coding! :sun_with_face:

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