htmldom.dev
Story
Web development goes very fast. I still remember the moments when starting to use jQuery, Prototype, script.aculo.us, Zepto and many more.
Nowadays, even if our application is powered by mordern tools such as Angular, Vue, React, Svelte, .etc, we have to deal with DOM. The frameworks encapsulate and hide the DOM management directly, but still give us a door to work with DOM via ref, event handlers.
If you develop or use a web component in any framework, you have to work with DOM at a certain level.
Knowing the browser DOM APIs and how to use them play an important role in web development. A website introducing the APIs, well-known problems, most popular questions could be very useful.
Features
- No external library. Only native browsers' APIs
- Small and easy to understand examples
- Live demos
- Many tips and good practices included
- Many real use cases
- Work with the modern browsers. Try to support IE 11
Running it on local
- Clone the project:
$ git clone https://github.com/phuoc-ng/html-dom- Install the dependencies:
$ cd html-dom
$ npm install- Run it on the local:
$ npm run dev-serverOpen http://localhost:1234 in your browser to see it in action.
Contributing
Pull requests are welcomed. If you see any problem with the example on your browser, please let me know by creating an issue or submit a pull request.
About
This project is developed by Nguyen Huu Phuoc. I love building products and sharing knowledge.
Be my friend on
Products
You might be interested in my products:
1 LOC (3.3k★)Favorite JavaScript utilities in single line of code |
Blur PageA browser extension to hide sensitive information on a web page |
Check Browsers SupportA browser extension to check browser compatibility without leaving your tab |
CSS Layout (2.7k★)A collection of popular layouts and patterns made with CSS |
Fake NumbersGenerate fake and valid numbers |
Form ValidationThe best validation library for JavaScript |
HTML DOM (3.1k★)How to manage HTML DOM with vanilla JavaScript |
React PDF ViewerA React component to view a PDF document |
this VS thatThe differences between ___ and ___ in the front-end development |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

