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

CSS

Adam Duffy
Adam Duffy
4,466 Points

Should I first master CSS before considering Javascript?

Javascript is showing up next in the Front End Web Development Course. I still struggle with positioning elements properly in CSS and basic logical structure of code. Any suggestions or insight would be appreciated.

I am interested in what others have to say. However personally I felt more comfortable doing the front end web development track, and then completing the full stack javascript track.

2 Answers

I think it depends on everyone individually. But for me I say dig in - no better time than the present. You will see CSS selectors used in JavaScript. HTML, CSS, JavaScript are the core so learn now.

If you were to learn JavaScript and Python at the same time there might be some issues (ex: split method is different) but CSS and Javascript are so different I don't see any issues.

Sheila Anguiano
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Sheila Anguiano
Full Stack JavaScript Techdegree Graduate 35,239 Points

Hello Adam, I completed the FEWD track a while ago, and I think I followed the same path:

  1. Digital Literacy
  2. FEWD Track
  3. Currently working on the Fullstack JS track

So I have been here a while and still feel like a newbie, but I'll recommend you to follow the class, it's a lot of information, and further along you'll learn about Flexbox and CSS grid that makes CSS positioning sort of obsolete, but still worth knowing if you ever have to read someone's else code, or as I have read in some articles set you apart from developers that rely mostly on bootstrap or similar frameworks

I'll recommend you do some experiments if you want to strengthen your positioning knowledge (you can do some exercises in codepen), but don't invest a lot of time. As you move along you'll see that the amount of information piles up and like everyone else, most days you find yourself reviewing how to make your paragraph not overflow your div on smaller devices.