30 seconds of code

30 seconds of code

Short code snippets for all your development needs

5.0
1 review

35 followers

30 seconds of code is a learning resource for developers of all skill levels in the form of a large collection of 500+ short code snippets in JavaScript, Python, CSS and React. After two years of work, the project is relaunched with a brand new website.

30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
30 seconds of code gallery image
Launch tags:
Web AppOpen SourceEducation
Launch Team

What do you think? …

Raha Golamini
I've been using Python for a while now and tried to see what you website offers me, but the thing is that I couldn't find a reason to use it over stackoverflow. What is the actual benefit of using your service?
Stefan Feješ
Hi @raha_golamini I am glad that you asked this question because our mission is not to compete with a multi-billion company like StackOverflow. The main benefit of using 30 seconds of code is to understand how specific functions work inside the language of your choice since we, as a community, carefully collected over 500 snippets and documented each one of them. On the other hand, StackOverflow is more like grab-and-go to all of your problems. Some of their solutions are not carefully explained, which is a problem for beginners as they copy and paste code that they don't understand. I talked about this recently at GitHub Universe so if you'd like to hear the whole story about the project you can do so:
I hope this answers your question :) Have a nice day, Stefan
Ghost Kitty
Comment Deleted
Raha Golamini
Dear @stefan_fejes, The thing you said about copy and pasting the code and not understanding it is actually very true. I didn't have a background in coding and found it very hard to understand some stuff on StackOverFlow, but used it anyway because it worked! So, I am going to give your product a chance :)
Oleg
This is definitely something that I was searching for, when I was learning to code in JS. Website itself looks great, also checked a mobile version in emulator, working fine --> which is always a plus. Color palette could be a bit better, but it's absolutely fine for a start, I would go with a different color for a menu and background beneath the main section. Congrats on a launch! )
Ghost Kitty
Comment Deleted
Jonathan Harris
I like 30 seconds because there is a good chance I will find "the right answer" to a common problem. I see that there have been other comparisons to StackOverflow already, but the challenge on StackOverflow is that any question will typically have multiple answers, and each answer will have multiple comments concerning its strengths and weaknesses. I would rather be able to grab one well thought-out solution to a problem that's part of a curated set!
Ghost Kitty
Comment Deleted

Do you use 30 seconds of code?