nQuery is an easy to use vanilla javascript DOM manipulation library. Select elements, add event listeners, and even make ajax requests all with one convenient library.
Interactive to do list using functions exclusively available from the nQuery library. Append, remove, hide, show, and select DOM elements, make AJAX requests and more! Take a deep dive into the public API documentation below, or just have fun with the demo: Live Demo
Returns or sets the HTML text of a selected element
Removes innerHTML from selected elements
Clears input field content
Returns input provided by user in input field
Add new DOM element to selected node in your document
Get or set attribute values of selected element
Add new CSS class to node
Remove CSS class to node
Toggle CSS class on and off for node
Returns a list of all children elements of selected node
Returns a list of all parent elements of selected node
Returns a list of all descendants matching the selector for the selected node
Adds an event listener and callback function to the selected element
Removes all, or one specific, event listener from the selected element
Hides element from view in browser
Displays hidden element in browser
Sends an ajax request returning a javascript Promise.