Subtract One Number from Another with JavaScript

I’m new to coding and I’m stuck on substraction exercise below.
Where by you need to replace 0 with a number such that the difference is 12. I replaced 0 with 23 but still got one error ’ 45 should be substracted with one number’
Help !!!

Your code so far


var difference = 45 - 0;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/subtract-one-number-from-another-with-javascript

change the 0 so the difference is 12

It’s not asking you to do anything except change the 0 in the sum so that the sum is correct. You don’t need to do anything except change that one number

I already did that. One error is solved, remaining one. Its substraction not sum

Output verified, I got the required result.

hey can you help me for fix this problem :smiley:

I feel what you feel , please help me

Hey there, have you tried replacing the 0 with something else?

I already put the number 0

The 0 is the only part of the challenge that HAS to change.

var difference = 45 - 0;

and the number that should go there INSTEAD is something that when you subtract it from 45, equals 12

It’s 33 -45= 12
23-45=22