Increment a Number with JavaScript help plzz

Increment a Number with JavaScript help plzz
0

#1

Why it not running?
I have done all the things what needed.


#2

You have to put increment operator ++ after myVar
Hope that helps


#3

The instructions provides an example of how the code should work. your syntax matters.


#4

no bro. I have tried it but same problem


#5

I have followed the example but nothing happens


#6

That works for me though.
Could you post your code?


#7

Hey, Whenever you need help with any of the Freecodecamp challenges, use the “Ask For Help” button on your challenge page. It gives the link to the challenge as well as posts the code properly here on forum.


#8

?


#9

If you are certain I was wrong you may try reloading your page, perhaps it is a script issue.


#10

i upload a pic though you can see the code in there


#11

oops…! the code is running in your device but why not in mine one!!!


#13

Refresh/Reload your web page, it could be a script issue. Show us your results. We’ve only seen your incorrect code.


#14

Thanks brother for the support further i will follow the step but why my code is not running??


#15

If you could post your code?,
Then we might be able to help you.


#16

I have refreshed several times but nothing change


#17

Here is the code beother.
var myVar = 87;

// Only change code below this line
++myVar;


#18

change this to myVar++
And try again.
See if it helps.


#19

We’ve already explained the problem, you have to be willing to read your code and instruction carefully.


#20

Brother thank you. It worked.


#21

Thanks brother for help