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


Need a lot of HTML to get started with JavaScript?

Understanding that you need to understand what is the header and the body of the html code. But can't one learn it as going through JavaScript.

3 Answers

Hi James, as along as you have a good understanding of HTML I think you will be fine.

Nick Stellato
Nick Stellato
Front End Web Development Techdegree Student 33,994 Points

Javascript has to do with interacting with the document object model (DOM). If you understand an HTML document, elements, parents, children and the like, you will not have a problem. Javascipt works well when you understand how to target certain elements on an HTML page. Understanding the structure of an HTML page is what is ultimately the most basic need for learning Javascript.