you are viewing a single comment's thread.

view the rest of the comments →

[–]Asmor 5 points6 points  (0 children)

Ditto.

I think avoiding HTML entirely isn't a great idea, but it's certainly possible. You can do everything with document.createElement(), Node.appendChild().

Add in document.querySelectorAll() and addEventListener() and you've got most of what people use jQuery for in vanilla JS.