[![Logo](/logo.png)](https://30secondsofcode.org/js/p/1) # 30 seconds of code > Short JavaScript code snippets for all your development needs * Visit [our website](https://30secondsofcode.org) to view our snippet collection. * Search for snippets that suit your needs. You can search by name, tag, language or using a snippet's description. Just start typing a term and see what comes up. * Browse all [snippets](https://30secondsofcode.org/snippets/p/1) or individual [snippet collections](https://30secondsofcode.org/collections/p/1) for each topic. * Click on each snippet card to view the whole snippet, including code, explanation and examples. * You can copy code blocks on any snippet card, using the copy button at the top right. * If you like the project, give it a star. It means a lot to the people maintaining it. ## Want to contribute? * If you want to help us improve, take a minute to read the [Contribution Guidelines](/CONTRIBUTING.md) first. * Use the relevant `template.md` to add new snippets to each collection. * If you find a problem with a specific snippet, please [open an issue](https://github.com/30-seconds/30-seconds-of-code/issues/new). * If you find a problem with the website, please [report it in the web repository](https://github.com/30-seconds/30-seconds-web/issues/new). ## Credits * This repository is maintained by the [30 seconds of code organization on GitHub](https://github.com/30-seconds). * All snippets are licensed under the CC-BY-4.0 License, unless explicitly stated otherwise. * Logos, names and trademarks are not to be used without the explicit consent of the owners of the 30 seconds of code GitHub organization. * Our website is powered by [Netlify](https://www.netlify.com/), [Astro](https://astro.build/) & [GitHub](https://github.com/).