Skip to content
jshacks.dev

Tag

dom

13 posts

Flat illustration of a browser and a server trading a request and a response, with the JavaScript, Google Chrome, Swagger, GraphQL and NGINX logos.
Browser

Build a Quiz App in Vanilla JavaScript

Build a quiz app in vanilla JavaScript with a question data model, one render function, scoring, answer feedback, a results screen and accessible radio inputs.

8 min read
Flat illustration of a browser and a server trading a request and a response, with the JavaScript, Google Chrome and Postman logos.
Browser

Build a Todo App in Vanilla JavaScript

Build a todo app in vanilla JavaScript with add, complete, edit, delete, filters and localStorage persistence, using event delegation and no framework.

8 min read
Flat illustration of a browser and a server trading a request and a response, with the Google Chrome, NGINX, Postman and Swagger logos.
Browser

DOM Manipulation Cheat Sheet

A DOM manipulation cheat sheet: select, create, insert, move, remove, classes, attributes, data, styles, events, forms, scrolling and observers, with examples.

8 min read
Flat illustration of a browser and a server trading a request and a response, with the JavaScript, Google Chrome, Postman and Swagger logos.
Browser

Build a Calculator in Vanilla JavaScript

Build a calculator in vanilla JavaScript with a pure state reducer, button and keyboard input, decimals, division by zero and floating-point rounding fixes.

8 min read