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 trialAaron Michael Ho
Courses Plus Student 1,299 PointsSingle versus double quotations
In the example of importing the CSS into the style.css stylesheet, the first import statement had double-quotes for the path...and the other three had single-quotes for the paths. Is that distinction necessary? Accurate?
Why?
1 Answer
Lee Ravenberg
10,018 PointsHi Aaron,
Thats a tough question. Friendships were broken, families were split and civil wars broke out over disagreement about this.
I am kidding of course. This is just a matter of preference. Both are absolutely valid syntax. It's good that you noticed the inconsistency in the usage. No matter what you choose to use, just be consistent in it.
This reminds me of the classic tabs vs spaces discussion; https://www.youtube.com/watch?v=SsoOG6ZeyUI
Aaron Michael Ho
Courses Plus Student 1,299 PointsAaron Michael Ho
Courses Plus Student 1,299 PointsThanks Lee! Your candor and your humor are both greatly appreciated.
Thank you also for the link to the discussion re: tabs v. Spaces. ... I "literally" about died! "LITERALLY"