🌐
Vanilla-js
vanilla-js.com
Vanilla JS
To use Vanilla JS, just put the following code anywhere in your application's HTML:
🌐
GitHub
github.com › olavgg › vanillajs
GitHub - olavgg/vanillajs: Example of web application with Vanilla Javascript · GitHub
The example I will show you, is a table with books and authors relation, with dialogs/modals for editing book/author objects. I will use classes, good old design patterns and template literals. This is a four step guide for Vanilla Javascript programming.
Starred by 62 users
Forked by 9 users
Languages   JavaScript 69.3% | HTML 18.1% | CSS 12.6%
🌐
vanilla-js-dom
vanilla.js.org
Vanilla JS # | vanilla-js-dom
Vanilla JS is a fast, lightweight, cross-platform tool for building incredible, powerful JavaScript applications. ... All tests are based on <section id="vanilla" class="vanilla"><article class="inner"><div class="target" id="target"></div></article></section> HTML. ... <div class="example"> <span>(Text into) Html Element</span> <!-- Comment Element --> Text Element <span>(Text into) Html Element</span> </div>
🌐
CodeSandbox
codesandbox.io › s › vanilla-js-code-samples-r0pq9
Vanilla JS Code Samples - CodeSandbox
April 12, 2020 - Simple Parcel Sandbox
Published   Sep 04, 2019
Author   djD-REK
🌐
Smashing Magazine
smashingmagazine.com › 2021 › 04 › vanilla-javascript-code-snippets
Vanilla JavaScript Code Snippets — Smashing Magazine
April 7, 2021 - In a new series of posts, we highlight some of the useful tools and techniques for developers and designers. This time around, let’s look at vanilla JavaScript code snippets — resources and lightweight libraries to help you solve a problem without a large overhead or third-party dependencies.
🌐
Ubiqum
ubiqum.com › home › blog › vanilla javascript – what is it?
Vanilla JavaScript - What is it? - Ubiqum
January 10, 2025 - Vanilla JavaScript allows you to scale an application in a progressive way, adding only what is necessary, without overloading the project from the beginning. DOM manipulation: A classic example of Vanilla JavaScript is DOM (Document Object ...
🌐
Snipcart
snipcart.com › blog › learn-vanilla-javascript-before-using-js-frameworks
Learn Vanilla JavaScript Before Fancy Frameworks - Snipcart
March 24, 2022 - Or, in our case, without new, fancy frameworks. For a high-level overview of JavaScript for beginners, check out this post. ... The history of the Vanilla JS site, which poses as a "JS framework" site, is short but funny.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › what-is-vanilla-javascript
What is Vanilla JavaScript? - GeeksforGeeks
August 5, 2025 - The term “vanilla” is a fun way of saying “plain” or “basic,” similar to vanilla ice cream being the simplest flavor. It emphasizes that the JavaScript you’re writing or running is unaltered and free from external dependencies.
Find elsewhere
🌐
GitHub
gist.github.com › drojdjou › d663fab14bc0bb34ce6d
Some vanilla JS examples · GitHub
Some vanilla JS examples · Raw · vanilla.html · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters ·
🌐
YouTube
youtube.com › playlist
Vanilla JavaScript - YouTube
Share your videos with friends, family, and the world
🌐
Reddit
reddit.com › r/node › vanilla js real life application examples
r/node on Reddit: Vanilla JS real life application examples
April 20, 2022 -

Hi there!

I am very much a noob when it comes to web development, so please bear with me. I do have some experience building simple SPAs using Node with Express for the backend and Vue.js for the frontend.

Now I have realized that relying on these frameworks (such as Express and Vue) is not a great idea for a beginner, because I don't understand what comes from the framework, and what is just vanilla JS, HTML or CSS. Also, I feel like I have zero control and that a lot of what is happening in my app works, but it's kinda magical :)

So what I'm looking for is to literally start with a project that only has two files: index.html for the frontend and server.js for the backend - and then literally build the project from the ground up and introduce complexity only when I need it. For example, I don't know how to set up routing for an SPA without vue-router, and there's a guy on Youtube that did it in like 3 minutes with no frameworks whatsoever. That example made me realize that I was relying on frameworks for trivial things, and I really prefer minimalism.

Anyhow, I apologize for the long introduction - but since I'm a newbie and I'm obviously not Googling properly, my question is; do you guys know any real life app examples (GitHub repos or something) that showcase an actual app that has authentication, routing, database etc, but is done with the absolute minimum of dependencies?

Thank you very much in advance!

Top answer
1 of 1
2
These are not the best examples (especially for a noob) but it does show basic JavaScript used for things like routing, database, etc so you can learn from it or google for other ideas. Seems like most jobs out there are for React right now but personally I like developing with Vanilla JS for real-world applications. Vanilla JS - Web Components This is a standards based web technology that allows you to create custom HTML tags using JavaScript and CSS: https://developer.mozilla.org/en-US/docs/Web/Web_Components Example of a major company using Web Components Shopify created a Store them using Vanilla JS. Using the actual theme would require a Shopify account/store but you can browse the code. https://themes.shopify.com/themes/dawn/styles/default https://github.com/Shopify/dawn https://github.com/Shopify/dawn/blob/main/assets/media-gallery.js Web Components for routing and JSON Web Services (database data) I wrote some web components that I use for SPA and easily displaying JSON data. If you were to run the ".js" version rather than ".min.js" in the playground site below you can use the browser DevTools to step through the code which gives a good understanding of what is going on. In terms of size these are not small but not large either and I've designed them so they use minimal code for what is needed. https://github.com/dataformsjs/dataformsjs/blob/master/js/web-components/url-router.js https://github.com/dataformsjs/dataformsjs/blob/master/js/web-components/json-data.js Demo: https://dataformsjs.com/examples/places-demo-web.htm#/en/ Try it online: https://dataformsjs.com/en/playground Here is what it looks when using from HTML:
🌐
Zinggrid
zinggrid.com › docs › integrations › vanilla-js
Vanilla JS Example | Docs | ZingGrid
<zing-grid id="example-grid" data='[ { "firstName": "John", "lastName": "Doe", "age": 45 }, { "firstName": "Jane", "lastName": "Doe", "age": 44 }, ]' theme="default" caption="Meet the Doe Family"> </zing-grid> Use JavaScript to change your grid data every second:
🌐
DEV Community
dev.to › colocodes › my-first-vanilla-javascript-project-making-a-simple-to-do-app-46a3
My first vanilla JavaScript Project: making a simple To-Do app - DEV Community
September 16, 2021 - In a real-world job, we will have to solve problems and start figuring things out by ourselves (with the help of Google, of course 😉). So, to test how much I was actually learning during the JavaScript course I was doing I decided to make a simple To-Do app in HTML, CSS and vanilla JavaScript.
🌐
YouTube
youtube.com › watch
What is Vanilla JS ? (Simple explanation for Beginners) [2023] - YouTube
In this video, we have discussed What is Vanilla JavaScript? What is Vanilla JS? What's the difference between vanilla JS versus JavaScript? Is it worth lear...
Published   April 11, 2022
🌐
Hugging Face
huggingface.co › docs › transformers.js › tutorials › vanilla-js
Building a Vanilla JavaScript Application · Hugging Face
To keep this tutorial simple, we’ll be loading and running the model in the main (UI) thread. This is not recommended for production applications, since the UI will freeze when we’re performing these actions. This is because JavaScript is a single-threaded language.