DEV Community

[Comment from a deleted post]
Collapse
 
chakudi profile image
Vaishali JS

Vanilla JavaScript is just plain JavaScript used without any frameworks.

Frameworks generally add some flavours of their own to the way we use JavaScript. But when we go framework-less, there are no added flavours to our JavaScript code and that's why its called Vanilla JavaScript 😋

Note: DOM is not JavaScript. DOM is part of Web APIs provided by browsers. When working inside browser, we almost always interact with the DOM API in some way, whether we are using some framework or plain Vanilla JavaScript.

Collapse