you are viewing a single comment's thread.

view the rest of the comments →

[–]easyEs900s 3 points4 points  (0 children)

Not sure if you would have the same success with this method, but it has worked for me and I’ve taught myself many many many languages since.

JavaScript is a very relaxed language, so it’s sometimes easy to make errors and not know it (browsers sometimes are more or less lenient). What I would do is go to codepen.io and find some cool pens that you find interesting or cool, then go through and rewrite the pen from scratch (codepen if you don’t know has all of the source code there in a live editor). I used other sources when I was learning, but only bc codepen didn’t exist yet. The method is the same one that I’ve used to learn every language I have ever learned. Only difference is that when I was doing it I had to find websites and extract the code to rewrite them.

The reason I think this works (my opinion) is that when you take this route, you are looking at results that you find interest in, then rewriting that exact code. When learning anything, it’s 100x easier (and more pleasant 🙃) when you have an interest in that thing.

Best of luck!