0

Why my this program is not showing output ???

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

9th Jun 2018, 7:15 PM
Jayesh
Jayesh - avatar
4 odpowiedzi
+ 2
You don't need html in your js. Just document.write will be enough.
9th Jun 2018, 7:17 PM
BlazingMagpie
BlazingMagpie - avatar
+ 1
document points to your ebtire html. Write replaces it's contents with text. It will not cause any errors. If it does, post here again.
9th Jun 2018, 7:25 PM
BlazingMagpie
BlazingMagpie - avatar
0
but would writing that will cause error or not ????
9th Jun 2018, 7:20 PM
Jayesh
Jayesh - avatar
0
k thanks
9th Jun 2018, 7:26 PM
Jayesh
Jayesh - avatar