A new year is beginning and many take the opportunity to launch the calendar with new goals. It is usually advisable to set small goals that can be completed more easily , and thus not overwhelm and feel that you have not achieved anything after a few months have passed.
That's why initiatives like Codecademy and its free courses that you can finish in a day are so attractive. Something similar happens with 30 seconds of code, a web that offers small segments of code in JavaScript that you can understand in 30 seconds or less.
Obviously, it is not aimed at novices who have no idea about programming, it is not a JavaScript course for beginners, nor does it teach you the basics about this language.
It is rather an interesting complement to learning JavaScript. It offers a good collection of small code segments together with an explanation of its operation and use, as well as showing some examples.
You can search according to functions, you can use the keyboard shortcut Ctrl + F (Cmd + F on Mac) to search for a segment. If you are in macOS and you use Alfred, you can import all the segments using this file.
The web is also an open source project and you can find all the contents of its GitHub page . They are also open to contributions, you just have to read the guide to do them if you want to collaborate.