Test does not run code seems correct

Tell us what’s happening:

I have done coding but does not moving to next challenge please help.This error comes while running test You should add a local myVar variable

Your code so far

function myLocalScope() {
var myVar = 5;

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: Local Scope and Functions

Link to the challenge:

Hey @AZAZ,

  • The challenge asks you to declare a variable, but what you did is assigning. This is declaring: var hello, and this is assigning: var hello = "hello".

  • It seems like you messed with the code setup, this can also cause your code to failed, because you need the comments. That’s how the test checks where to check your code. Try to reset the lesson and re-do it again.

I have redo code according to your advice but still it is saying this error
" You should add a local myVar variable."

Can we see your new code?