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 Proxy

    The JavaScript Proxy object is a powerful tool you can use to extend the functionality of objects in a variety of interesting ways.

    Collection · 9 snippets

  • JavaScript DOM Querying

    Learn how to query the DOM quickly and efficiently with this collection of JavaScript tips and tricks.

    Collection · 15 snippets

  • JavaScript DOM Manipulation

    Create, insert, remove and manipulate DOM elements with this collection of JavaScript tips and tricks.

    Collection · 6 snippets

  • JavaScript Event Handling

    Event handling needs to be done right in JavaScript. Pick up some tips and tricks to create a better user experience.

    Collection · 15 snippets

  • JavaScript Arrow Functions

    JavaScript arrow functions are a very useful tool to learn and master. Get started with this collection of articles.

    Collection · 4 snippets

  • JavaScript Performance Optimization

    Optimize your JavaScript with this collections of tips and tricks and take your website to the next level.

    Collection · 10 snippets

  • Tips & Tricks

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

    Collection · 56 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

  • Colors in JavaScript

    Working with color requires understanding of color formats and conversions. Luckily, this JavaScript snippet collection's got you covered.

    Collection · 13 snippets

  • Browser Capability Detection

    Use modern JavaScript APIs to detect a variety of browser capabilities and adapt the user experience accordingly.

    Collection · 7 snippets

  • JavaScript Array Methods

    Get acquainted with some common JavaScript array methods, as well as some more advanced array tricks.

    Collection · 8 snippets

  • JavaScript Array Tricks

    Learn a handful of awesome tips and tricks that you can leverage in your code to make array manipulation a breeze.

    Collection · 12 snippets

  • JavaScript Object Key Transformations

    Easily transform object keys to your liking with this snippet collection.

    Collection · 6 snippets

  • Testing

    Learn some of the basics of testing React components in various scenarios using React Testing Library.

    Collection · 4 snippets

  • CSS Hover Effects

    A collection of cool CSS hover effects to spice up your next web project.

    Collection · 10 snippets