Learn javascript


#1

I DO NOT UNDERSTAND 4 ON LEARN JAVA SCRIPT . I GOT IT WRIGHT, BUT IT KEEPS SAYING THAT I AM WRONG. THE CODE IS:
console.log('3.5 + 13');
console.log('2016 - 1969');
console.log('65 / 240');
console.log('0.27083 * 100');

PLEASE HELP, I'd REALLY APPRECIATE IT


#2

using apostrophes (') means you are using strings. Why, if you have to numbers which you want to use string? this will just represent the data a string rather then adding/subtracting and dividing.


#3

Going out on a limb here...
Are you supposed to log the strings? or the math? because you have apostrophes around all of your numbers making them strings.


#4

If you gonna use numbers you don't need to use strings.


#5

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