Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

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
seal-mask
.a{fill-rule:evenodd;}techdegree
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.