A couple months ago I received the following question from this website:
I think it might be a good idea to share my answer with you. I think it depends if you’re new to coding or if you’re an experienced developer.
Learn by doing
There are a lot of great resources that make it easy and fun to learn, but once you know the basics, the best way to learn is to build something. Break things, fix things and try again. It will teach you so much more. I know there will be people telling you, you should start with ‘building’ something right away. In my case, I felt more comfortable with ‘just’ building stuff in JS once I’d finished some courses. But this is different for everyone. :)
Curious about the opinions of others? You can read the article here. If you have other advice, feel free to comment below :)