Browse snippets by collection or check out our top picks and latest articles below.
Using the Proxy object, we can create chainable dynamic getters for objects in JavaScript.
JavaScript, Object · May 28, 2023
Learn the simple way to undo a commit in Git without rewriting history.
Git, Commit · May 27, 2023
Learn how to merge a branch in Git with or without creating a merge commit, depending on your team's workflow.
Git, Repository · May 26, 2023
Did you make a mistake but haven't pushed your changes yet? Learn how to rewind back to a specific commit in Git.
Git, Branch · May 26, 2023
Learn how to filter branches based on whether they contain a specific commit or not.
Git, Branch · May 25, 2023
Creates a styled radio button with animation on state change.
CSS, Visual · Nov 16, 2022
Create your own static file server with Node.js in just 70 lines of code.
JavaScript, Node · Jun 5, 2022
Renders a tree view of a JSON object or array with collapsible content.
React, Components · Nov 16, 2020