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 JavaScript and the DOM (Retiring) Making Changes to the DOM Styling Elements

Not understanding the HTML and CSS.

Hi, I'm having a tough time following along with this course. I think it's due to my lack of knowledge of HTML and CSS. Do you guys think that I should put a pause on this course and get a better handle on HTML and CSS before continuing any further?

Tyler Durden
Tyler Durden
2,406 Points

Yes. I taught myself HTML and CSS (not the best, but I get by) and only started doing real programming languages in college.

I understand the majority of the JavaScript DOM stuff, BUT, I spent a good amount of time (since my teens) building websites and playing around with HTML, CSS, all the properties and even writing basic JavaScript for events before even embarking on this course.

I would really REALLY recommend this website as it helped me so much: https://learn.shayhowe.com/html-css/

If you skimmed through that, and were able to understand the selectors and properites, and display: block, inline, none, and floats, and stuff really quickly , that would help you SO MUCH.

Honestly, just making your own website, tinking & building and messing up and learning is amazing TOO.

Good luck

2 Answers

Shehan Dissanayake
Shehan Dissanayake
19,119 Points

It's better to have a complete idea about HTML & CSS before moving into Javascript. As I have heard, first we should learn how to structure our projects that where HTML comes in, then to style it which is CSS and finally the interactions which we use Javascript to do.

You can follow this track

It will guide you on the correct path. Thanks

Brendon Butler
Brendon Butler
4,242 Points

I would definitely put a pause on the JavaScript course. I personally feel that HTML and CSS are a prerequisite for JavaScript. I know you can have JavaScript without HTML or CSS. But I'd say most people use it in conjunction with them.