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

Not understanding JavaScript or Dom at all.

Finding it really to follow with the Full stack Javascript track. Seems to be some much going on for so little change in the document (HMTL file).

Does it get easier to understand? is there better ways to understand this?

3 Answers

Yes, I felt the same way, but it gets easier I assure you. Especially once you get to jQuery, a lot of the code you've been exposed to with respect to DOM manipulation using pure JS will be greatly simplified!

For now just make sure you get the basics of like how to make selection: document.querySelectorAll(). How to change basic properties like innerHTML. How to create an element var elementToAdd = document.createElement("tagName"); and how to add this to the page: `element.appendChild(elementToAdd); etc. (check out teacher notes, they're like a nice summary of every topic)

Chris O'Brien,

Completely understand where you're coming from. I felt the exact same way. Know that what you're feeling is completely normal. What I did to help myself understand JavaScript/the DOM is to a) rewatch the videos as many times as need be, b) take notes on each video/topic to help my brain and memory soak in the information, and c) take breaks and sleep on it when I feel like my brain can't take anymore. Don't give up! You'll get there.

while (true) { study();; workHard() }