im doing one of the test and its telling me to declare my name and i am but i dont believe im doing it correctly
var myname jayla;
im doing one of the test and its telling me to declare my name and i am but i dont believe im doing it correctly
var myname jayla;
please include the challenge link
next time you can just use the ask for help button, it will create a thread with your code, a challenge link, and the space for you to ask questions
declaring a variable is done with the var
keyword, you put the var
keyword at the beginning of the line, then a space, then the new variable name, and close the line with a semicolon
then there are initialising a variable, and assigning a value to a variable, but I believe you have not yet met that
Hey
If I understand the problem, it should be:
var myName = “Jayla”;
Try like that…hope that helps