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 trialmebula
4,931 PointsUsing "xyz" vs 'xyz' in font declaration
How come when we referenced Helvetica Neue in the font declaration, we wrote: "Helvetica Neue" with the double quotes, but when we reference Abolition, we write, 'Abolition Regular' with single quotes?
What's the difference between using the two?
Thanks!
2 Answers
Cory Harkins
16,500 PointsNo difference, just style choice specific to you.
However!
Say you have a font titled Dora's Adventures.... (who knows...)
You want to use " " instead of ' ' as the browser will interpret the ' in Dora's as the end of the string.
'Dora'
"Dora's Adventures"
Big difference :)
Daniel Jordan Neal
11,767 PointsThanks, I was wondering the same thing.