+ 1

What are the various ways to print text in Js without using document.write like e. g python = print()

4th May 2020, 9:58 AM
Hansel
3 Answers
+ 6
You can use use .innerHTML for this purpose. https://code.sololearn.com/W9vfoYP99Lxl/?ref=app See this for sample.
4th May 2020, 10:02 AM
Ayush Kumar
Ayush Kumar - avatar
+ 2
Thanks
4th May 2020, 12:29 PM
Hansel
- 1
AYUSH.ks it looked like you're saying fuck. Correct the spelling to fake
4th May 2020, 11:27 AM
Sajid
Sajid - avatar