Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phuocng/html-dom
Common tasks of managing HTML DOM with vanilla JavaScript. Give me 1 ⭐if it’s useful.
https://github.com/phuocng/html-dom
document-object-model dom dom-api dom-manipulation html javascript typescript
Last synced: 5 days ago
JSON representation
Common tasks of managing HTML DOM with vanilla JavaScript. Give me 1 ⭐if it’s useful.
- Host: GitHub
- URL: https://github.com/phuocng/html-dom
- Owner: phuocng
- License: mit
- Created: 2020-02-15T08:57:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-06T13:29:06.000Z (7 months ago)
- Last Synced: 2024-10-29T15:11:08.404Z (about 2 months ago)
- Topics: document-object-model, dom, dom-api, dom-manipulation, html, javascript, typescript
- Language: MDX
- Homepage: https://phuoc.ng/collection/html-dom
- Size: 6.94 MB
- Stars: 6,521
- Watchers: 98
- Forks: 460
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - phuocng/html-dom - Common tasks of managing HTML DOM with vanilla JavaScript. Give me 1 ⭐if it’s useful. (MDX)
README
# HTML DOM
## Story
Web development goes very fast. I still remember the moments when starting to use [jQuery](https://jquery.com), [Prototype](http://prototypejs.org),
[script.aculo.us](https://script.aculo.us), [Zepto](https://zeptojs.com) and many more.Nowadays, even if our application is powered by modern 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
- [x] No external library. Only native browsers' APIs
- [x] Small and easy to understand examples
- [x] Live demos
- [x] Many tips and good practices included
- [x] Many real use cases
- [x] Work with the modern browsers. ~~Try to support Internet Explorer~~## About
This project is developed by _Nguyen Huu Phuoc_. I love building products and sharing knowledge.
Be my friend on
- [Twitter](https://twitter.com/nghuuphuoc)
- [Github](https://github.com/phuocng)