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
Christian Cargill
8,065 PointsA bit confused by the DOM
I am just wondering if you guys could create a course more focused on the DOM itself, and how JS is used to manipulate it.
5 Answers
tomasvukasovic
24,022 PointsWell, I will have to agree with you Andrew did go really fast in comparison to Dave. Although it was hard I did learn a lot from Andrew because I was obligated to make some research and review the videos if I was lost.
I will have to strongly disagree with Brendan JQuery is a really important skill in WebDevelopment and its required in almost every company. I you have questions regarding the exercises come to the forum or just search on the internet for some documentation on that particular thing you are stuck on.
Remember the job of a Programmer is to find solutions and to research.
Allison Walker
17,137 PointsStick it out. To be honest, I really didn't get a lot of what Dave taught. There were some challenges that I simply could not do. Eventually, I tried a few other, non-Treehouse resources, came back and got through it. It was tough, though. There's no getting around that. Sometimes it's helpful to just take a break and learn something else for a while - then come back and try again. Now I've started working on Node.js, which is another course that Andrew teaches. His style is different than Dave's, but it's a helpful way to think through a problem. And, in the Node.js course, I feel like I understand JavaScript so much more than before, which is encouraging!
But remember that instead of feeling like Treehouse needs to teach you, it will be a far more important skill to learn how to teach yourself. Good luck!
tomasvukasovic
24,022 PointsI will Go with this answer as the best really, the same happened to me and I decided to try Python and I felt in love. It was love at first line of code jajaja
Shawn Parrotte
6,689 PointsDon't worry. With Andrew's style you need to use your intuition a bit more than Dave's, and it can surely be frustrating at first. Take some time to reach out to other sources to get a handle on some of the new ideas but make sure that you come back and write the code with him. One of the best things you can do is to really think about the logic of what you're making, and you could go even further to recreate the entire finished projects from scratch to make sure you really know how to do it.
Christian Cargill
8,065 PointsJust to add an update to this post...
For some reason, about halfway through the course things kind of clicked for me. Sort of.
I realized that a lot of DOM manipulation with JS isn't really coding but more connecting things. You can reference a CSS class or an HTML element and then modify its value, or hide it, or something "programatic", but it's not as programatic as what we were doing in the JS basics course with creating math games and quizzes.
So, I suppose that's what front-end web development consists of for the DOM at least. Using a programming language to modify visual elements on the page via the DOM. Where-as a backend language, or doing AJAX/Node.js would be more like programming in the sense of if/else statements, conditions, etc.
I think that the bridge between teaching the basics of JS (programming concepts) and jQuery (DOM manipulation) was very subtle if not lost completely through instruction. So, thats what I was really struggling with because I went from "Let's do some coding!" with JS to "lets modify visual elements" with JS. Even though it should have been obvious to me, I really would like the segue during lessons to have noted this change in philosophy.
Maybe it had to do with the different training styles and philosophies of Dave and Andrew. Or, maybe the jQuery course didn't explain the ideology of the DOM well enough (the DOM was explained more in-depth in the course after jQuery though). Still, I think Andrew went too quickly, but he is a great instructor.
Allison Walker
17,137 PointsWell, I wish that you had kept your original question instead of the new update. Your previous sentiments reflected a frustration that I think many other people have felt when learning JS and jQuery.
If you're looking for more info about the DOM, or JS in general, I found a JavaScript Essential Training course on Lynda (with Simon Allardice, 5hr) that seemed to explain more about the DOM - sort of that missing link. He goes more into explaining things like "InnerHTML", which, by comparison, is not explained in much depth on Treehouse in terms of it's true significance. I recommend sitting through the full 5 hour course, because it's all meant to flow together and there's also a lot of other good info to learn than just the DOM.
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsI agree with what others have said, that you should try other tutorials other places. Different methods work better for some people. I've done multiple beginner courses different places and it helps solidify my knowledge and some concepts become more clear from other teachers.
I also recommend that when you run into a problem, make an attempt and then post your code to the forum with that specific problem, then you can make incremental progress.
You also don't have to learn JQuery at all. There are many different languages and frameworks that accomplish the same thing.