Skip to main content
30 seconds of code is a curated collection of code articles covering a wide range of development needs. Browse hundreds of articles spanning many topics, from simple coding problems to theoretical concepts and development techniques.

What you’ll find here

The collection includes articles for various programming languages and technologies:

JavaScript

ES6 helper functions, array manipulation, DOM utilities and Node.js tools

React

Component patterns, hooks and best practices for React development

Python

Python utilities, algorithms and data structure implementations

CSS

Styling techniques, layouts and visual effects

How to use this site

Search for articles and collections that suit your needs using the name, tags, language or description. Each article includes:
  • Code snippets with syntax highlighting
  • Clear explanations of how the code works
  • Practical examples demonstrating usage
  • Links to related articles and concepts
Browse all articles or individual collections for each topic.

About the project

This repository is maintained by Angelos Chalaris. All code snippets are licensed under the CC-BY-4.0 License, unless explicitly stated otherwise. The website is powered by:
  • Netlify for hosting and deployment
  • Astro for static site generation
  • GitHub for version control and collaboration
  • Unsplash for photography
If you like the project, give it a star on GitHub. It means a lot to the maintainers and helps others discover the content.

Build docs developers (and LLMs) love