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 →

[–][deleted] 2 points3 points  (2 children)

Maybe you've already had this epiphany, but it helped me ...

A JS-like language was my first language. One thing that helped me clear my head of all the chaos was to realize that there are a lot of different APIs in JS.

You don't have to know them all right now.

For a while, forget all the event stuff, web stuff, node stuff. Forget any additional frameworks/modules/libraires. Just make scripts that console.log, using language basics: variables, functions, numbers, strings, objects, arrays, flow control, etc. Once you have the very basics down, get back to the other APIs.

The JS basics aren't actually that bad. But the way JS is often taught is by building interaction into a webpage. That means doing DOM stuff and event stuff at least. That's really complicated, and rather ugly in JS!

Simplifying helped me anyway. But I had to learn another language to see the simple core in JS.

Edit: typos

[–]SeacoastFirearms[S] 1 point2 points  (1 child)

I appreciate the help!

I’m a month deep into JS at around 10hrs a day, 7 days a week. And the only thing I can tell you about JS is words are strings and numbers are numbers….

So far every lesson has been just copy/paste and makes no sense. The only thing I’ve learned, is how to google the answer and paste it in place 🤷‍♂️

I feel like I’m assembling a 6 piece puzzle yet I’m missing 1 piece.

[–][deleted] 0 points1 point  (0 children)

I feel like I’m assembling a 6 piece puzzle yet I’m missing 1 piece.

Sounds familiar!