What is happening?! Please have Dave remake this whole course!
Charles Badger18,188 Points
DOM stands for document object model. It's the underlying structure that makes up a website. It's the browser's interpretation of your code.
Here's a simplified version of the DOM before the button is clicked:
<html> <head> </head> <body> <button id='confetti-button'>Confetti</button> </body> </html>
And here's a simplified view of the DOM after the button is clicked:
<html> <head> </head> <body> <img class-'confetti' src='mgs/confetti.svg'> <img class-'confetti' src='mgs/confetti.svg'> <img class-'confetti' src='mgs/confetti.svg'> <img class-'confetti' src='mgs/confetti.svg'> <img class-'confetti' src='mgs/confetti.svg'> <button id='confetti-button'>Confetti</button> </body> </html>
Converted to an answer. - Edited by Dane E. Parchment Jr. (Moderator)
Without all the panic, I'll agree this course so far seems to be lacking. Lots of WHY's missing. Feel like Dave was breaking down the syntax better.
Robert O'Toole6,342 Points
honestly i felt this way last week. and then just pushed through the whole JS DOM course.... then this week a reviewed it FROM scratch. i highly suggest going over the ES2015 course first though so u understand things that can be overlooked like let and const. which they just randomly throw in here without explaining.
this explained the WHOLE const and let thing so well for me... but beyond that just push through. look up the answers even to help the first time around then the second time around in this course i guarantee u will be able to answer all the quiz questions and notice things u overlooked.... this is what coding is like I've realized... and I've only started my journey 3-4 months ago lol https://jscomplete.com/playground/s377304
Quinton Shuman6,870 Points
As I have attention issues there are other reasons I find myself restarting these Guil videos over and over again. It seems like once I hear his voice my mind automatically decides to set sail on a different thought. BUT I do feel like what you're talking about is actually beneficial and may even be intentional. For instance you pointed out that you have to stop and research a specific term or something. This, albeit frustrating and slow at first, is a valuable skill. After doing these courses with Guil I feel more and more that I can tackle things better on my own because I know how to find the answers on my own. I more or less use teamtreehouse as a course guide of what ideas and terms I should know and then go more into depth on the topic on my own whether thats youtube, written articles, or mdn. Sure it takes longer but it makes me feel more confident in my skills. That being said I do find that when I embark on a new course I am always bummed when its Guil. Sorry Guil.
Robert O'Toole6,342 Points
oh also the nth child stuff is later in a CSS advanced selector course which is rather silly yes... lol
it seems they need to fix the order of the web development track... i spent months learning var and scope with var only to realize that var is barely even used these days lol
Paul Brubaker13,067 Points
Maja DivkovicFront End Web Development Techdegree Graduate 13,920 Points
This happens often with courses done by Guil unfortunately, it is extremely hard to follow as he starts of slow, and then within two seconds he is rushing through the code just saying don't worry about this I will explain it at a later stage. :(