Basic JavaScript - Subtract One Number from Another with JavaScript

    1. The variable difference should be equal to 12.
  • Waiting:2. You should only subtract one number from 45.

const difference = 45 - 0;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Subtract One Number from Another with JavaScript

Hi there and welcome to our community!

Did you have a question about this challenge? If you can explain exactly what you’re struggling to understand, we should be able to help!

In the code
“const difference = 45 -0;”
The tests tells you the Difference should be equal to 12, so in the code, input 45 - what that equals 12.