I guess my answer is correct, but it would not let me continue.
const difference = 45 - 33;
There is no error message:
/**
Your test output will go here
*/
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Challenge: Subtract One Number from Another with JavaScript
Link to the challenge:
I’m not sure I understand what is happening. Is that one line the only thing in your editor? What happens, exactly, when you click the “Run the Tests” button?
Yes, is the only Line in this simple exercise.
const difference = 45 - 33;
When I click “Run the tests” nothing happens.
No error message. Just says:
/**
Your test output will go here
*/
Thanks a Lot.
Odd. Are you running any extensions on the page? I’d try updating the browser, clearing the cache, and restarting the browser.
The result should be:
" The variable difference
should be equal to 12.
You should only subtract one number from 45."
Which I guess makes my answer correct.
Yeah, that one line looks correct, which makes me think its something with your browser.
Yes, probably is a Problem with the browser.
Will do that “updating the browser, clearing the cache, and restarting the browser.”
Many thanks
1 Like
Yes, I guess it was a browser Problem. I restarted and now it works fine. So simple exercise I could not had it wrong, hehe.
Thanks a lot.
1 Like
Sure thing. I’m glad you have it working now!
1 Like
system
Closed
October 11, 2022, 6:28am
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.