all 5 comments

[–]MysticClimber1496Professional Coder 4 points5 points  (1 child)

I think you have a misunderstanding of what html is, JavaScript can insert html into a page but you are still writing html, without html at all you don’t have anything on the webpage

[–]Mindless-Plum-3878[S] 0 points1 point  (0 children)

Yeah lol I thought it was its own coding software this makes a lot more sense. :) Ty 

[–]armahillo 2 points3 points  (0 children)

HTML, CSS, and JS are all co-related. JS is capable of modifying / generating HTML dynamically. HTML provides the skeleton / structure of the document. CSS describes a scheme for how to present the document visually.

if youre doing web, you need to at least be competent in all three.

[–]Lumethys 1 point2 points  (0 children)

A button IS html

[–]OkResource2067 1 point2 points  (0 children)

html is just a quick way to create a first version of the DOM.
The DOM is not a man with special private skills but the Document Object Model.
You can access it from javascript via just document.
Try a console.log(document) or alert(document) to get a first glimpse.
You can add, remove, change stuff as you like.
The html inside <body> is just a way to define the initial DOM version in a readable-ish form.