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 trialsibal gesekki
3,484 Pointswhat is node and element and stuff. instructor assumes we know everything ?!
i dont know why this instructor thinks we know what these terms are. first time hearing about them in my life and now we're doing properties and stuff
What is node, element, parent node, parent element?
layman terms please. online i found that elements are tags that have class/id/etc and nodes are just the tag like
<p>
. is that true?
6 Answers
Dekin O'Sullivan
10,749 PointsWell, I agree with one thing: this instructor sucks big time. I find him utterly confusing and a very bad teacher. Not the quality I expect from a Treehouse paying course...
Dylan Pereira
15,141 PointsThe instructor Andrew Chalkey has to be the worst instructor on Treehouse. He goes over concepts like we are experts in what he is talking about. His strong English accent doesn't help either. I'm considering learning javascript concepts elsewhere.
Christopher Loyd
Courses Plus Student 5,806 PointsA node is the object that all other objects in the DOM inherit from.
An element(p, a, div, etc.) is just one type of object in the DOM that inherits from the parent node object. You can see the other types here.
I'm not sure how much of a deep dive that course you're taking does into the DOM, but if you're looking for an exhaustive reference on DOM manipulation then I would suggest DOM Enlightenment.
Chances are if you're manipulating the DOM in any sort of production environment for web development, you're going to be using a library (like jQuery) to abstract the brunt of the technical mumbo-jumbo for you.
sibal gesekki
3,484 Pointsi understand what node is soon after i wrote my question. basically nodes are just all possible things on a document. i believe the most common type of node would be the element node.
parents nodes/elements are just things that have children nodes/elements underneath them.
i am liking pure js rather than jquery. i feel like this is the real deal and ppl have said itll make websites have better peformance. or is it best to use a mix of both?
Bruno Dias
10,554 PointsI'm glad to know I am not alone and am not the only one with the same feeling. I'm considering giving up learning JavaScript from Treehouse courses as their instructors seems to assume we, beginners, know everything. They start using terms that are never shown to us previously or they don't explain why they are using those terms.
I was trying to learn basic JavaScript here on Treehouse few months ago but I had to give up as the basic course is too complicated and ended up buying a book which was 100% more helpful than the basic JS course here.
Now that I have a basic understanding of JS I find myself on the same situation again.
Andrew Chalkley is a great developer and we clearly can see he knows how to code but sometimes I find him completely lost trying to explain stuff and I know JS is complicated to explain.
I think Treehouse should follow the Head First book approach when launching a course for beginners. Hope you guys don't get me wrong but it's been really tough learning JS here.
Steven Parker
231,248 PointsYou have the basic idea, at least in part; but your unfamiliarity with the terms makes me think that you might have started with the wrong course. You might want to first take one of the courses that covers basic HTML document structure (and terminology).
sibal gesekki
3,484 Pointsi completed the entire html and css basics, forms, selectors on treehouse. i know what nodes and elements are now anyways
Rossella Rosin
15,734 Pointsthis course assumes you have not only followed html and css basic courses, but also javascript basics, and perhaps others, like jquery basics, which is better for beginners. I am following the Front-End Web Development Track, and I've met "nodes" and stuff long ago, this is almost one of the last courses in the track. Perhaps you should try less advanced stuff first.