Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Aneel Samuel
Aneel Samuel
4,272 Points

JavaScript is a bit challenging... not able to figure out some stuff by myself...

Hey guys! So I have started learning JavaScript and it seems fascinating to me. I was recently doing the conditional challenge problem, but couldn't figure it out. I understand the fundamentals of the program, but have a hard time putting it all together. I had to go to the next video and see how it would be done.

I am driven to learn and will push myself to improve... but is this normal? Does it take a while to learn to how to structure and put together a program? Or is it something that comes naturally?

If not how can I further improve myself? Is doing all the JavaScript lessons enough?

3 Answers

Kieran Barker
Kieran Barker
15,028 Points

It’s completely normal, mate. I’m always banging my head against a wall trying to figure things out. With consistent practice and study, eventually it’ll click! Keep building stuff, trying things out in the console, doing Treehouse courses, and reading from good sources like the MDN Web Docs and CSS-Tricks :)

Robert Schaap
Robert Schaap
19,836 Points

MDN is a very useful resource indeed, the examples there are very useful. It is very normal to feel stuck at some points, everyone has it. Especially if you have no coding experience or have never really trained your logical thinking muscles, it can be hard. Don't give up. If you can't figure it out, see how far you get with those challenges, go over the answer and then see where you went wrong or different. And if you are getting stuck, just console.log the crap out of every step - see what it's doing and what you're getting back.

After you've finished the javascript courses, it's probably good to read something like Eloquent Javascript - but I'd really wait with that until you've got at least a good basic understanding. Some of the basics in that book are quite good, but it also goes into detail very quickly at times.

I agree, it's completely normal. I also look through discussions on Stackoverflow. Sometimes if I'm working on something I draw it out, and then talk my way through it (I'm a visual learner). Sometimes just trying to explain it to myself what needs to happen and think on the order of events helps me solve things.