Something Gone wrong with me or with the compiler(if not,I am a beginner)


#1

I’ve got a problem while subtracting 1969 from the current year
The code I’ve given is ,

console.log(2018-1969);

why doesn’t it let me to go to my next instruction.


#2

What error message do you get?

Can you provide the exercise url so we can find the exercise and test run your code there?


#3

https://www.codecademy.com/courses/learn-javascript-introduction/lessons/introduction-to-javascript/exercises/math-operators?action=lesson_resume&course_redirect=introduction-to-javascript

this is the one


#4

i ran your code, no problem. Screenshot?


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.