0
I want write code in js and show in html can l do it?
3 Answers
+ 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!!!đ
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
0
bobbie I think he wants to copy the contents of the JS file and put it into an element using JS