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 trialStacy Fabian
2,246 PointsDoes Capitalization Really Matter?
So in this video the guy instructs you to create a new folder to hold your CSS document. He specifically says to name it "css" in lowercase. I'm wondering if the capitalization of this and other folders in live environments really matters or if it's just a preference thing? Thanks!
4 Answers
Daniel Lee
7,809 PointsHey Stay, No it does not matter because computer is smart enough to recognize the extension .css. I think back in the day CSS wasn't recognize so people decide to use .css.. If you want to verify you can download sublime text and save it as .CSS to see for yourself. I hope this helps.
James Barnett
39,199 PointsI'm wondering if the capitalization of this and other folders in live environments really matters or if it's just a preference thing?
Most web servers run on Linux which is case-sensitive, so yes there's a good reason to lowercase.
Daniel Lee
7,809 PointsWell I would not say you are wrong but it works on OS X as well as windows. For the most part, computer recognizes though just like you said sometimes case does matter. However, for the purpose of html and doing this on sublime text and other text writer, they do recognize .CSS.
Daniel Lee
7,809 Points^Did not know what mod mean until today. Moderator who works for the treehouse. Thank you for addressing that out. Expect to learn through this forum.
James Barnett
39,199 PointsModerator who works for the treehouse.
Moderators don't work for Treehouse, they are just students that like to help out other students on the forum.
Only people with staff
next to their name work for Treehouse.
Oliver Brewester
3,180 PointsGet in the habit of writing all extensions and all code for that matter in lower case. When you come to Javascript and other languages they are case sensitive and treat "code" different to "CODE." which can make debugging real hard. Plus im pretty sure some older operating systems especially with Windows take issue with finding uppercase folders on a URL
Stacy Fabian
2,246 PointsThanks Oliver and everyone else. Always good to learn things through here. :) I'm pretty brand new to code from scratch (just worked on the end user level of Drupal with some basic page level HTML editing) so it's good to learn the correct format for everything now.
James Barnett
39,199 PointsJames Barnett
39,199 PointsOnly Windows recognizes "extensions" as separate from a file name. So no, on many file systems a computer isn't that smart.