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

Learning my first programming language. (JavaScript)

Hey everyone! So I've been with Treehouse for about a month now but haven't really had the time to start taking it seriously. Well I have time now and I decided I want to learn JavaScript as my first language. I want to know how much knowledge you need to have when it comes to HTML and CSS? I know the very basics of both languages, certainly not enough to build my own website. Could I go through the Full Stack JavaScript Track without knowing how to build a website?

4 Answers

You could probably make it through the Fullstack JavaScript track -- but it would require some extra work outside of what Treehouse gives you. I would recommend starting with the Front End Web Development track. That will get you started using HTML, CSS, and JavaScript together to make websites. The Front End is where JavaScript really shines!

If you aren't too worried about the time, I recommend doing the Digital Literacy track as well, it doesn't take long and it gives you a very gentle introduction to web technologies -- I enjoyed it.

Hi Louis,

This is my first time commenting on the forums too so I guess we're both pretty new around here! I would recommend you have at least a general understanding of HTML/CSS before diving too heavily into Javascript.

Javascript can often utilize parts of HTML and CSS inside of it so if you aren't clear on how classes and selectors work in HTML/CSS it could make things really confusing. That said, I've found so far through JavaScript Basics that the lessons focus more on important programming concepts that are valuable across all languages like conditionals, objects, loops, arrays, etc. You could probably do that just fine because all it asks of your HTML knowledge is that you can link your javascript page to an HTML document to preview it in workspaces.

I don't think you need to be able to build a full blown website to get started in Javascript, but it certainly won't hurt to follow Jacob's advice and try some of the introductory courses first to fill in any gaps you may be missing.

Good luck and happy coding!

I would definitely recommend a beginner level HTML/CSS course before JavaScript. The beginnings of JS seem very unrelated to what you see on a website (loops, operations etc) but will fairly quickly become linked.

The front-end dev track includes all three, so by doing that you would still get a fantastic start with JS in a front-end capacity (which would also make the JS track much easier when you get to it) but if you think you want a more JS-heavy approach then I recommend doing the 'How to Make a Website' course and then starting the JS track. This course is about 8 hours so certainly a very thorough look at HTML/CSS but not as much as if you were doing the whole front-end track.

https://teamtreehouse.com/library/how-to-make-a-website

I really appreciate all your responses. I definitely have a long journey ahead of me.