JavaScript var a = 7 program question

Tell us what’s happening:

assign value of 7 to var a.

Below is my solution . Also I am changing code below the “// only change code below this line” in the program. Yet the response to me clicking “run program” always says has an ‘x’ to indicate a mistake followed by saying I changed code above the line.

Your code so far
//
var a;
a = 7;


// Setup
var a;

// Only change code below this line
a = 7;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363.

Challenge: Storing Values with the Assignment Operator

Link to the challenge:

1 Like

I would try updating and restarting your browser.

Hi @rgennaro831!

Just see your code now! The output says that the test does not passed, even your code is correct.

Try refreshing your web browser and complete the puzzle with your solution. If that don’t work then try disabling all extensions in your web browser and update your web browser.

If it still does not work then try completing this puzzle in a different web browser.

Hope this helps!
Pummarin

Update Edge to the latest version (based on Chromium). Or use Chrome or Firefox, for the curriculum.