Understanding Basic Javascript

I completed all the basic Javascript challenges. But I still feel lost on some topics, especially loops and recursion. I will definitely be reviewing those concepts.

I see they have Javascript books for kids at the library. Has anyone used a kids book to reinforce their learning?

2 Likes

I haven’t tried any of those books. My advice though is that at this point what you probably need to cement your understanding is just to do it more. Learning to code is very much a matter of getting your hands dirty.

A Smarter Way to Learn JavaScript by Mark Meyers is a simple and straightforward book that is much better than this bootcamp in many respects. He has a way of making JavaScript concepts really digestible. Chapters are short but informative, and each has free exercises that you can do online to cement the information, so you spend more time practicing the concepts than reading text. Definitely recommended.

2 Likes

How long have you been programming for?

What about loops are you having difficulty with? Try to cement your understanding with loops first before even thinking about diving into recursion.

hi @cherylm

this might not relevant, but im playing scratch.mit.edu to helping my logical thinking.
it teach code block and javscript also like code block, maybe other programing language too.

I started seriously learning html and css in late May, and started Javascript about 3 weeks ago. I’m going in order of the lessons, and the basic Javascript section deals with loops and touches on recursion. When I don’t get something, I find another tutorial.

I’ve heard of scratch, thanks.

Thanks for the recommendation, sounds great.

1 Like

3 weeks isn’t very long, so I’d be impressed if you had completely mastered loops by now.

Programming is hard. Like really hard. A lot of people make it out to be this thing that everyone can learn, but in reality it’s just like any other field of engineering. It’s difficult, it’s gonna make you bash your head against the wall for hours, and it’s not always going to be the most enjoyable, and I can tell you that everyone is not willing to do that, but if you are that’s awesome. You’ll get better with it as long as you do enjoy the core aspects of it and genuinely want to understand it.

2 Likes

Yeah, cut yourself some slack. This is hard stuff, which is why it pays good money. While I was doing FCC I usually had a JS book I was skimming through - stopping on the things that confused me. Just keep learning and building things and moving forward.

Thanks, will do :slight_smile:

can you tell me what book it is

If that’s directed at me…

There are a lot of great books out there. I think I just grabbed a few JS books from the library and skimmed them to find things I didn’t understand. I remember reading Elegant JavaScript and JavaScript Allongé - lot of that second book went over my head at first. Speaking of going over my head, the You Don’t Know JS. I always tell junior developers that they should read those once a year until they know it completely, then they can cut back to once every 12 months.

Just read, seek things out. Some of it will be confusing, but it will get better with time.

1 Like

Hi Kevin, what book did you use to help with JS? Would love any and all help!

Mainly I learned JS by doing it. Really, FCC and the MDN docs were my main tools in learning JS. But, as I said, I would go to the library and pick up a book and skim it, looking for things I didn’t understand. I remember reading Elegant JavaScript. There were others. More advanced books would be things like JavaScript Allongé and You Don’t Know JS. But it was never one book. It was using FCC as a framing device, building things, consulting Stack Overflow and MDN, and occasionally skimming books to see if I could pick up something I’d missed.