30 seconds of code provides a wide variety of snippet and article collections for all your development needs. Explore individual language collections or browse through collections about specific topics and programming concepts.
Convert between the most common string casing formats with pure JavaScript and a sprinkle of regular expressions.
Collection · 7 snippets
JavaScript generator functions are an advanced yet very powerful ES6 feature, which you can start using in your code right now.
Collection · 17 snippets
Learn how to apply mathematical set operations to JavaScript arrays.
Collection · 12 snippets
Add some life to your buttons with these simple CSS transitions.
Collection · 5 snippets
Quickly and easily generate random integers, strings, booleans, arrays and hex color codes using JavaScript.
Collection · 7 snippets
Master web storage in JavaScript with this collection of tips and tricks.
Collection · 5 snippets
Learn how to manipulate the scroll position of your website with JavaScript and make your website stand out.
Collection · 5 snippets
Discover the inner workings of JavaScript arrays and learn about the different ways to initialize them.
Collection · 5 snippets
Learn how to create a variety of background patterns using CSS.
Collection · 4 snippets
Easily clone JavaScript objects and arrays using various techniques.
Collection · 4 snippets
Discover a collection of reusable function components for React 18.
Collection · 34 snippets
Easily perform HTTP requests in JavaScript and elevate your web development skills.
Collection · 6 snippets
Discover dozens of web development articles, covering a wide variety of topics and technologies.
Collection · 14 snippets
Pick and omit keys from JavaScript objects easily, using the snippets in this collection.
Collection · 4 snippets
A collection of cheatsheets to bookmark and come back to whenever you need to look up anything.
Collection · 15 snippets