0

I want write code in js and show in html can l do it?

30th Jun 2018, 8:29 PM
هشام عباس
3 odpowiedzi
+ 3
You can do it a few ways including .innerHTML and document.write this link will help you understand how https://www.w3schools.com/js/js_output.asp Best of Luck!!!🙂
30th Jun 2018, 10:18 PM
bobbie
bobbie - avatar
0
It would be quite easy using a backend language by putting content of the js file into a html tag but Im not sure about doing it in js
30th Jun 2018, 9:15 PM
TurtleShell
TurtleShell - avatar
0
bobbie I think he wants to copy the contents of the JS file and put it into an element using JS
1st Jul 2018, 1:30 PM
TurtleShell
TurtleShell - avatar