Help i can see why thus isnt working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Help i can see why thus isnt working

why isn't this code working https://code.sololearn.com/W17lXrd17k6z/?ref=app

15th Nov 2017, 6:41 PM
King Frankostein®
King Frankostein® - avatar
5 Answers
+ 11
You're welcome! var calc = prompt("Please enter a number to find root:"); document.write("All about your numbers are: " + " square root is " + Math.sqrt(calc) + " sine is " + Math.sin(calc) + " cosine is " + Math.cos(calc) + " tangent is " + Math.tan(calc));
15th Nov 2017, 6:49 PM
Tamra
Tamra - avatar
+ 9
The first line of your document.write() statement is missing a +, and the last line has an extra + at the end.
15th Nov 2017, 6:45 PM
Tamra
Tamra - avatar
+ 4
thanks
15th Nov 2017, 6:46 PM
King Frankostein®
King Frankostein® - avatar
+ 4
thank u very very very very much
15th Nov 2017, 6:50 PM
King Frankostein®
King Frankostein® - avatar
+ 3
can u modify it and send back
15th Nov 2017, 6:45 PM
King Frankostein®
King Frankostein® - avatar