Storing Values with the Assignment Operator : Run Test Error

Storing Values with the Assignment Operator : Run Test Error
0

#1

I am unable to complete the section due the " Run Test " button not functioning. I’ve tried to restart my browser, use a different browser and also reset the code. Any recommendations?

Your code so far


// Setup
var a;
var b = 2;

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/storing-values-with-the-assignment-operator


#2

Your solution is wrong is why. Each time you use var you’re making a new variable. So you have 2 a variables.

var b = 

B needs to equal a. How do you do that without making a new variable. Variables a, and b are all you need.