Tell us what’s happening:
I have been going over this since last night. I am stuck on this and I am not sure if I am doing this right. It keeps saying that I am not * Failed: The variable difference should be equal to 12.
Failed: You should only subtract one number from 45. Can someone help me with this one?
Your code so far
const difference = 45 - 12; // difference is 33
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Subtract One Number from Another with JavaScript
yes, I assume they are cause all it says is * The variable difference should be equal to 12.
*You should only subtract one number from 45. And it also said change the 0 to 12 and I did that.