30 seconds of code

Short code snippets for all your development needs

Featured Collections

Latest Articles

Top Snippets

  • Modal

    React, Components

    Renders a Modal component, controllable through events.

  • Accordion

    React, Components

    Renders an accordion menu with multiple collapsible content elements.

  • Creates a list with floating headings for each section.

  • 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.

  • get

    JavaScript, Object

    Retrieves a set of properties indicated by the given selectors from an object.