I cant use var please help me

ok so i am new here and i am trying to learn var on lesson two javascript but when i try: var myname = beau it doesnt work and it only says " beau is not defined’’

Probably because it should be a string. To make a string you need to use quotes “like this”. And if i remember right myname should probably be myName.

When asking for help please post your code and a link to the challenge.

If it is the Declare JavaScript Variables challenge.

  1. The variable should be named myName

  2. You should not assign any value to it.


If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.