Tests won't run!

Tell us what’s happening:
I’ve entered my answer but when I click on “Run Test”, nothing happens.
How can I solve this a lot of the other challenges seem to have this same issue.

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.

Challenge: Storing Values with the Assignment Operator

Link to the challenge:

Hello there,

This line contains a syntax error:

var b= var a;

Hope this helps

Hi, Thanks for replying.
I’m sorry, but I still don’t understand even if there was an error.
After running the test, I should get the error signs where the instructions are.
However, I am unable to run the tests at all :frowning:

I want to learn JavaScript but I can’t proceed without the “run test” function.

sometimes syntax error cause also the tests to error out and stop

in this case you have var b = var a which is wrong because you use var only when the variable appear for the first time, and absolutely not to the right of an assignment operator

1 Like

Thanks for helping! It worked for me :slight_smile: