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

Chris Mitchell
Chris Mitchell
12,719 Points

javascript, who else wants to puke?

Is it just me or am i the only one who feels like banging my head against a brick wall doing this??

Im on the javascript foundations and have absolutely zero experience in this area and to be honest this course really needs some pazazz putting into it to make it more engaging.

My head is currently bombarded with parseInt parsefloat integers decimal operators hex numbers leading zeros octal module g-strings order of ops zero this and zero that and function this and lowercase that... i could go on and on and on and on and on and on and on.

Really struggling to be engaged in this and I have yet no idea what javascript is, the power of it, the benefit of it.

Im hoping that by the end im going to see some kind of blinding bright light that makes me go WOW, but its difficult to work thru the pain of this course.

Treehouse so far has been great and im am sure this javascript foundations is going to be great too from the past experiences I have, however, if i had stumbled onto this course right from the start i would probably have not even reached half way.

14 Answers

JavaScript is arguably one of the easiest programming languages to get into. Part of what caused its notoriety is the fact that you can pretty much copy a snippet from some other site, paste it into yours and get it working without much effort.

This behaviour has caused a lot of people to think they know JavaScript, when they really don't. The Internet is full of bad tutorials for JavaScript that teach you nothing about the language and usually throw you into the usage of jQuery, making you run before you can walk. W3Schools is one of those places, just like Kevin Lozandier already mentioned.

Due to its history, JavaScript is a quirky language and there are things you might want to avoid when using it. Plenty of people write JavaScript code because they have to, not because they want to, and they get frustrated when JavaScript doesn't behave like their primary language.

While Treehouse's introduction to JavaScript may seem a bit dry, I think they're trying to right a wrong here and provide people with a solid foundation of the language, one that can actually be built upon. That way, you won't have to resort to Frankensteinery on the frontend.

Finally, programming is hard work. There are a lot of complex concepts that you'll have to embrace and figure out in order to proceed with this particular career choice. It may seem daunting at times, but it's well worth it in the long run.

Adam Duffield
Adam Duffield
30,494 Points

Totally agree with this, very frustrating when you look at JavaScript tutorials and Jquery keeps getting introduced too! Been at JavaScript for over a month now for several hours most days and as much as I could understand most of the syntax I could never quite understand how to interact with the document. The otherday I looked at yet again another tutorial and it all just clicked! All that hard effort in JavaScript pays off what one day when everything just clicks and make sense all of a sudden! ;)

Adam Duffield
Adam Duffield
30,494 Points

I totally agree! I feel your pain bro, Treehouse is awesome but the only area where I have found a real problem is the JavaScript section, surely it's got to be the most complicated part so far out of html,css and javascript and it seems to have the least to explain it! They need another course showing really useful examples of how it's used I think and further explaining the DOM Model.

Steve Suresh
Steve Suresh
13,185 Points

I agree. I really liked the HTML and CSS courses but I find the Javascript courses lack the Treehouse "feel". My feedback is it would be nice to integrate the Javascript Foundations course topics into a website project that builds on itself throughout the course. I'm grinding through the sections but I don't find myself as engaged. I'll keep plugging away though because I need to learn this stuff.

James Barnett
James Barnett
39,199 Points

If you are brand new to programming you might like enjoy the programming with Karel

It focuses on problem solving while coding.

Adam Duffield
Adam Duffield
30,494 Points

I've also found that the W3Schools JavaScript info is actually very helpful, i normally find these tutorials quite bad but the JavaScript one makes sense once you recognize a bit of the JavaScript language. Try it out at .. http://www.w3schools.com/js/DEFAULT.asp

I don't recommend the use of W3Schools, nor practically any intermediate to advanced JavaScript developer. I highly recommend you use Mozilla's Developer Network resources instead.

James Barnett
James Barnett
39,199 Points

As w3schools has some issues with credibility I usually use devdocs.io, which is a searchable interface for the Mozilla Developer Network.

Cherie Burgett
Cherie Burgett
8,711 Points

I actually enjoy the code challenges in this unit. The code challenges are like a reward for getting through the videos.

Steve Suresh
Steve Suresh
13,185 Points

Adam Duffield

Thanks for the w3schools link. I find the JavaScript examples there presented in a more practical manner.

Adam Duffield
Adam Duffield
30,494 Points

No probs, It helps you understand the difference between the syntax, interecting with the document(DOM) and interacting with the browser but its basic, for the more advanced stuff see the links posted by moderators above.

I would recommend that you work on "introduction to Programming" if you haven't already. http://teamtreehouse.com/library/introduction-to-programming

I think it's meant to be a lighter introduction to programming than javascript foundations.

However, both of these courses are deep dives and not project based so that is probably part of the problem for you. They are meant more to teach you how to use the language and programming fundamentals. Not so much on how to apply it on real world projects.

There is the new "jQuery Basics" course and the older "Build an Interactive Website" and these are more hands on project based but they are focused on jQuery and not javascript.

Javascript is the behavior layer in a website/webapp. It's responsible for the interactivity that you experience on a website. You've probably seen slideshows, or looked at images in a lightbox, or filled out forms where you were notified of problems while you were filling it out. These are some of things that javascript does. You may have seen FAQ style pages where you only see the questions and after clicking a question you see the answer open up. That's javascript too. Most likely jQuery or some other javascript library is being used but javascript under the hood.

It may seem boring and pointless right now but realize that you're learning important fundamentals.

Here's a quote from "The Last Lecture" that I think is appropriate here: "You’ve got to get the fundamentals down because otherwise the fancy stuff isn’t going to work."

Cherie Burgett
Cherie Burgett
8,711 Points

I might be totally alone in thinking this, but I love the javascript lessons. The videos are dry.... but so is the humor!! The courses have tons of "easter eggs" in them if you're paying attention. Maybe that's not everyone's thing. I also think they get better as you get further into them.

Steve Suresh
Steve Suresh
13,185 Points

After giving some thought to all the excellent input here, I've realized although the JavaScript videos may be dry they are very valuable in the knowledge they present about fundamental JavaScript concepts that will be needed as I continue to learn programming. I feel very comfortable that Treehouse will be teaching me the "right" way.
Thanks everyone.

Stacy Fleetwood
Stacy Fleetwood
4,494 Points

I completely understand your perspective and thought I was alone in feeling this way. I went into this knowing that learning a programming language would take work, practice and patience. I do feel that the Javascript training lacks real world examples of what Javascript actually does. With the other tutorials, like HTML and CSS in the beginning you are shown what you can do with them, and you always hear "don't worry if you don't understand every little detail of the code, we will get into that later." I appreciate that style of learning, so I first SEE what I can do with what I am learning, and then learn the details of HOW to do it.

I do appreciate Treehouse teaching the right way to use Javascript, and providing a solid foundation of the language, but I still feel the learning experience lacks that piece of the puzzle that shows what it can do right from the beginning.

I'm finding myself painfully working through it, hoping for the light bulb to go off...

Hi, Stacy. I'm sure all the pieces of the puzzle will fall into place eventually. If you want a sneak peek into what JavaScript is good for, there was a recent thread about it, where I tried to provide a small insight into JavaScript's capabilities, accompanied with some links for the more curious.

Maybe it'll be motivation enough for you to stick with it. Not to mention that once you go through the JavaScript basics, jQuery Basics is a really interesting course with a lot of practical examples.

Stacy Fleetwood
Stacy Fleetwood
4,494 Points

Dino,

Thanks for that! I will check that out, and just keep working through it.

I just wish there was a way I can see what I am learning being applied to a real time design. Yes, I understand it's a foundation, but I find it so dry to get through that it almost feels tedious to finish. I am hoping Jquery adds more depth to this as Jquery is a JavaScript library and a lot of people who divided into Jquery and end up learning Javascript much more fluently than that.

I guess maybe I am just one of those people where I need to see a problem exist in the real world environment to fully understand the functionality, otherwise, it's almost like an college education all over again, preparing you for the basics yet become so lost the moment you feet begin to get which in all actuality, I'll rather be lost and learn through trial and error than try to understand basics to something that I don't know what it's purpose is applied to. But maybe it's too soon to speak as I haven't finished the whole front end developer track, while I do appreciate what Treehouse does for us, I just wish there could be actual presentations on to apply these methods in an actual design setting rather than presenting very basic examples in console log..but maybe I am wrong, who knows.

James Barnett
James Barnett
39,199 Points

That's what exercises are for. http://www.pairuptocode.com/Level2.html#

If you are looking for more practice check out https://pine.fm/LearnToProgram/

The free online book uses Ruby however you can do most of the exercises in JavaScript.