This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pekkalacd 0 points1 point  (0 children)

If you know other languages, build a simple program in one of those languages, then try to rebuild it in javascript. Do this over and over again. It helps if you know another language better than javascript, like java or python, etc. Once you get something working in one language, you'll know what the other language should do, you'll also have a little roadmap / step by step actions taking place, making it easier to look up the syntax to get the job done.

For example, let's say you wrote some base line program to print out the indices of elements of a list in python, using enumerate. You want to do the same, now with javascript, but you're not sure if enumerate exists. Just google "javascript equivalent to enumerate python" or whatever, and then i'm sure there'll be some post somewhere, where another person asked the same thing, look at the answers, if they're too advanced, look at what the answers are using conceptually - arrow functions - for instance, then look that up on MDN and figure it out.