"Unit Testing in iOS" was retired on May 31, 2020.

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

Struggling to grasp Javascript Foundations. Where else can I effectively study this language?

Javascript has me completely befuddled. Completing my foundations course right now with Jim Hoskins and I just feel confused about the majority of it.

For my own personal understanding, I'd just like a few reputable resources to call on. Reinforce my introduction with a different perspective maybe, if that's possible.

The best way to learn is to code. Sometimes you may think that you understand a concept but you actually don't until you write it out yourself and see where you mess up.

Write some of the programs that you're learning with completely different variable names and see if you can figure how to link it up.

Using console.log at various stages of your coding is one of the better way to figure out what's going on for simple things.

Also if your general programming knowledge is lacking, try reading up more on that. You won't fully grasp programming without some basic knowledge.

-Luke

3 Answers

I'm in the same boat and I think I know why.

The Javascript foundations class really seems to be a jumble of things that you can do with Javascript without really any explanation of why. I'm doing my best to muddle through just to get through the course, but I can say at the other end, I really don't understand any of it. Why would I have a variable named jim where I pass it the name nick? Seems completely illogical. Why wouldn't I have a variable person where I pass a name and a greeting. Either way......what I have found to be the best resource is the new book by Jon Dockett - http://javascriptbook.com/

Thank you, Marston. I had the exact same thoughts throughout the bulk of that course. The subject matter and dialogue was not as helpful as previous courses with TH. In my opinion, I think that should be one of the courses TH reevaluates first as their company expands.

If you're looking for more videos and examples, I'd recommend Kahn Academy's "Intro to JS." It's easy though a bit silly! Also, it lets you play around, as Luke suggests.

Have you tried W3Schools? It might be in the course. Head to JS section. Then, by clicking on the various terms along the left side, you can learn all about the different parts, one piece at a time. It could be helpful to have this written instruction to compliment the lectures.

Finally, check out some books at the library; you didn't need anything super new. I'm reading a decade-old book right now and its core is still applicable. You may only need a chapter or two, but each author looks at it a bit differently!

Thank you both for the suggestions. I'll keep working at it and explore other tutorials and lectures.