Run Test Button is not working for me

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


var our Name;

Your browser information:

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

Challenge: Declare JavaScript Variables

Link to the challenge:

your code syntax is wrong here

for declaring variable
syntax is

var variableName = 'variable value' ;

form your code your are giving space for variable name like our space and then name
rules writing variable name

rule 1 => variable name can not start with number but can end with number
example :

var  1name = 'rio' ; //wrong
var name1 = 'rio'; // correct

rule 2 => variable name don’t have space

var my name = 'rio'; //wrong because of space between my and name
var myName = 'rio'; // correct

rule 3 => variable name can’t start with any special letter like @,#,%,^,& so on but only can with $
example :

var #myname = 'rio' // wrong
var 1myname = 'rio' // wrong 
var $myName = 'rio' // correct this is only case here other are not allowed

and use camel case for good easy read
example :

var myname =  'rio' // normale case myname is hard to read 
var myName =  'rio' // it is  easy now to read this is camel case 

camel case : writing every first words first letter capital except first letter
example :

var myNameIs ; // here m is small and N and I are capital

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