Tell us what’s happening:
Your code so far
var myVar = 87;
// Only change code below this
++myVar ;
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.116 Safari/537.36
.
Challenge: Increment a Number with JavaScript
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Hello and welcome to the FCC community~!
Try removing the space before your ;
.
1 Like
@rajaga223 I think this is a bug with freecodecamp.org . Spaces shouldn’t make a difference in JavaScript, i.e. ++myVar;
and ++myVar ;
should do the same thing.
1 Like