DEV Community

loading...

Discussion on: What exactly is VanillaJS?

Collapse
hasnaindev profile image
Muhammad Hasnain

I don't understand what you mean but will answer according to what I did understand. An example of JavaScript interacting with DOM is, "document.getElementById." That's it. This method gets you an element which you may interact with, modify and remove.