30 seconds of code

Short code snippets for all your development needs

Featured Collections

Latest Articles

Top Snippets

  • Accordion

    React, Components

    Renders an accordion menu with multiple collapsible content elements.

  • Creates a responsive image mosaic.

  • Tabs

    React, Components

    Renders a tabbed menu and view component.

  • getURLParameters

    JavaScript, Browser

    Creates an object containing the parameters of the current URL.

  • luhnCheck

    JavaScript, Math

    Implementation of the Luhn Algorithm used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers etc.