0
What is going on with this ?
At https://www.sololearn.com/coach/359?ref=app That thing wants an output of a given number of seconds like 3 multiplied by 343 to get the distance of sound so the output when we put 3 is 1029 It's supposed to be like this var seconds = 3; var distance_of_sound = seconds * 343; document.write(distance_of_sound) That seems fine , alright , but why is this resulting in bizarre outputs with jabbering i don't get saying that my output is wrong ?
4 Antworten
+ 2
How are you able to access pro code coaches...?
And i think, there are no code coaches for javascript..
+ 2
Oh. In that case add description.. Am not able to access..
Iam will delete my answer if I can't find.. Hope Some one else will answer.. Am not sure I can get it about node.js.. I try if it is js only. And
Enthusiastic Mind try console.log(distance_of_sound) ;
+ 2
Enthusiastic Mind document object does not belong to Javascript language. It's available in web browsers only.
"Use console.log() to perform an output to the console." -Copied from challenge description.
0
Jayakrishna🇮🇳 it was attached in the course and it didn't require any pro accounts , i guess it was in Node.js