0

How to display the output in the output box? Even the document.write

https://code.sololearn.com/WowzbT2r2088/?ref=app

14th Jul 2018, 5:35 PM
B.D
B.D - avatar
6 Respuestas
+ 1
Instead of .value use .innerHTML to change text of an element
14th Jul 2018, 5:38 PM
TurtleShell
TurtleShell - avatar
+ 1
Sorry that was a mistake
14th Jul 2018, 5:42 PM
TurtleShell
TurtleShell - avatar
+ 1
It depends on the code that was given e.g. alert("test"); doesnt return anything so it will be undefined but 4+5 returns 9
14th Jul 2018, 5:48 PM
TurtleShell
TurtleShell - avatar
0
What's .text?
14th Jul 2018, 5:39 PM
B.D
B.D - avatar
0
It is displaying Undefined
14th Jul 2018, 5:43 PM
B.D
B.D - avatar
0
thank you
15th Jul 2018, 6:27 AM
B.D
B.D - avatar