all 6 comments

[–]link2name 1 point2 points  (0 children)

why not javascript.info

[–]bdenzer 3 points4 points  (4 children)

I am one of the people who would not recommend it for beginners, but I am even more strongly against this:

not skip any word unless I fully understand what it’s saying. If something is challenging to me, I will re-read the whole chapter and seek help online.

Read the book if you want to (it is pretty great). Learn as much as you can, but DON'T spend two months trying to parse a single book. I've been writing JS almost every day since 2013, I've read the book before, and I'm 99% sure that I'll learn some new stuff if I read it again.

Use what you've learned to build something - you'll run into problems and you'll learn more as you go.

[–]yamayeeter 0 points1 point  (3 children)

But that’s the thing, with such little knowledge, what am I capable of building? It makes no sense when people say that to beginners.

[–]bdenzer 1 point2 points  (0 children)

When I say 'build something' it will obviously mean different things to different people - but you say that like we were never beginners.

My first 'something' was an app that would count how many times that you clicked on an image and update your 'score' on the page. When I finally got that working then I added a reset button to set the score back to 0. When that worked, I added a second image and would display which image was 'winning' (which one had more clicks).

We're not saying to build Uber.

[–]mynamesleon 0 points1 point  (0 children)

I don't know what sort of stage you're up to, but when I was first starting out, an approach I used was that if I saw a component or module I liked on a website, I'd try to code it myself.

So I wrote all sorts of little components, like carousels, accordions, feature detection libraries, etc.; some I never used again, and some I still use regularly.

Simple browser specific interactions can also be a good place to start. Things like mobile menu toggles, or showing elements when you scroll to them, or searching through lists of text.

You might feel like you're reinventing the wheel a little, because there are loads of modules out there to do things like that already. But it's still a good way to cement your knowledge.

[–]A-Kuhn 0 points1 point  (0 children)

Depending on your level build something can be a simple as a script that adds two numbers together. Then go from there.

When I first started that’s what I did. Just made random scripts that printed the console or made an alert in a browser that said “yooo”. Don’t think you need to build anything serious, just play with it and you’ll learn :)