Snippet Collections

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.

  • JavaScript

    Browse a wide variety of ES6 helper functions, including array operations, DOM manipulation, algorithms and Node.js utilities.

    Collection · 710 snippets

  • CSS

    A snippet collection of interactive CSS3 examples, covering layouts, styling, animation and user interactions.

    Collection · 109 snippets

  • React Hooks

    Discover a collection of reusable hooks for React 16.

    Collection · 49 snippets

  • JavaScript Algorithms

    Learn a handful of popular algorithms, implemented in JavaScript ES6.

    Collection · 35 snippets

  • Git

    A snippet collection of simplified git documentation and tips, covering most commonly-used commands and covering various use-cases.

    Collection · 91 snippets

  • JavaScript Interview Questions

    Prepare for your next JavaScript interview with this collection of interview questions and answers.

    Collection · 31 snippets

  • Python

    Browse helper functions for Python 3.6, including utilities for primitives, lists, dictionaries and date objects.

    Collection · 173 snippets

  • Node.js

    Discover a collection of server-side JavaScript utility functions for Node.js 14.x.

    Collection · 19 snippets

  • JavaScript Data Structures

    A guide to some of the most commonly-used data structures, along with JavaScript implementations and examples.

    Collection · 11 snippets

  • JavaScript Promises

    JavaScript promises provide a modern and elegant way to to handle asynchronous operations. This snippet collection covers the basics of promises and how to use them in your code.

    Collection · 8 snippets

  • React Rendering

    Understand the fundamentals of React's rendering process as well as more advanced techniques with this series of articles.

    Collection · 3 snippets

  • HTML Head Basics

    Learn how to use the HTML head element to improve your site's SEO, social sharing, and user experience.

    Collection · 4 snippets

  • CSS Centering

    A collection of techniques for centering HTML elements in any situation using CSS.

    Collection · 5 snippets

  • Tips & Tricks

    A collection of quick tips and tricks to level up your coding skills one step at a time.

    Collection · 53 snippets

  • URLs in JavaScript

    Working with URLs is an essential skill for web developers. This snippet collection covers all the necessary resources to master URLs in JavaScript.

    Collection · 12 snippets