Basic JavaScript - Increment a Number with JavaScript

Tell us what’s happening: oh boy, this is way more difficult than html/css course. what is wrong with this?
Describe your issue in detail here.

   **Your code so far**
let myVar = 87;

// Only change code below this line
myVar 88++;
   **Your browser information:**

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

Challenge: Basic JavaScript - Increment a Number with JavaScript

Link to the challenge:

The ++ operator should only involve the variable you are trying to increment. There is no number involved.

thanks. that worked. more confused . hope it clears up as I move on

Javascript is hard. Confusion is normal, but we’re here to help

1 Like