Basic JavaScript - Declare JavaScript Variables

Tell us what’s happening:
Describe your issue in detail here.
i cant get the varible to register ive been typing in var myname = carl; but its not working
Your code so far

var string = myname;

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 15054.98.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Declare JavaScript Variables

Link to the challenge:

The instruction is: " Use the var keyword to create a variable called myName ."

var is the keyword, the variable's name is "myName"

var **theNameOfVariable**;        --------------------this is expected from you in order to create a named variable. 

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