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

At what point did you start to understand JavaScript?

The JavaScript Foundation section in the Fron-End Development track is frustratingly dry, boring and ineffective at teaching.

Maybe it's the lessons, maybe it's the language or maybe it's just me, but half way in now (at methods section) I still don't know what I'm doing and I'm cheating my way through the challenges with the use of the forum answers.

Treehouse really needs to reimagine the JavaScript Foundation, because it's terribly bad at giving students the ability to actually work with the language.

Stupid as it may sound, but I don't even get what console.log is for or why Jim Hoskins keeps using it instead of using an example web project.

I can't be the only one that feels this way about this section.

My question to the students who've already done completed the foundation: When did you finally start to understand JavaScript? Also, do you feel confident about your ability to work with it in a real project?

PS: sorry for the rant!

4 Answers

Javascript is tough to learn. Probably in my opinion one of the toughest languages to write. I can read it much better than I can write, thus leaving me to heavily rely on jQuery for most basic tasks. At some point I'd love to learn more vanilla JS.

A little detour. While console.log doesn't seem to have a purpose right now, later on you'll likely find yourself using it to check your JS script at various points. When I'm building a script, I will put in console.log on variables or other parts of the script, just as a checkpoint basically. I can see what's going on. It's kinda like the var_dump() of php.

I do think that the Javascript Foundations course does need a re-work. I had similar issues to you. I struggled to get through it. Best analogy I can give as to what you might be facing, because it's what I was facing.

You're taught all of the components of Javascript without context. It's like if you were in an automotive class and had never seen car before, and the instructor starts showing you the suspension, the motor, the electrical system, but you have no idea how these components actually fit together.

When you finally see the big picture that is the Javascript language, the sum of the parts will make sense. I think it's easier to reverse engineer this language, by learning it as part of a JS heavy project first.

Hi Kevin! Thanks for your reply.

Your analogy is perfect! It's exactly like that.

I feel I can read it. I too found it rather frustrating, mainly for the interactive course that follows, as I kept encountering errors, that my gut instinct was that they were not wrong... I too cheat, then realise that I was right the first time and I discovered for one the issue was my browser (though that is good practice for the real world) and some others were due to the video showing spaces in things, yet me removing them made my submissions work, and finally my emulator on here was misbehaving. I do not in the slightest feel confident that I can write Javascript, any OOP takes years to master, but I would like to see more advanced ones to hopefully help to understand it more.

The interactive course I found good, but I never felt it was explained to me why we were doing what we were doing, and what each section did. Visualising bits linking to each other is the best way I managed, but I doubt it matters too much, as JQuery is far more usable, and is the next step I'm yet to look at.

Try codecademy.com. There the courses are different. At the very beginning you must start coding. I haven't done a lot there because I'm manly on TreeHouse (WordPress, CSS) but a few daysago I've discovered codecademy and it looked very promising.

Hi Maja,

Yeah I've known about Codecademy for a while now. I have to say that their updated curriculum and design is very appealing.

I'm close to finishing the Treehouse JavaScript Foundation and after that I'm going to do the Codecademy JavaScript course as an extra to see if that helps.

Constantijn Asamoah You could combine your training here with codeschool's javaScript foundation course. Then, of course, there is the newly added JavaScript Basics Course on Treehouse. Apparently it will be a lot better. So try these, and remember that practice makes perfect.