How to learn front-end code

As a beginner how to learn front-end code? Can you give a hint?

This seems like a thinly veiled attempt to promote your own open source library, which is strange because you wouldn’t need to veil it at all. Are contributions to the project welcome?