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
Amee Tsai
302 PointsThe video says to type: background-image: url('img/background.jpg'); but it only worked for me without the quotes?
Near the end of the video, it says to add the background image, type:
background-image: url('img/background.jpg');
However, that broke everything for my page and only worked without the quotes:
background-image: url(img/background.jpg);
Why the difference?
Amee Tsai
302 PointsAmee Tsai
302 PointsOh, I tried again with the apostrophes and it worked this time...not sure what I had done wrong before. Still, it seems to work with apostrophes, quotes, or none at all. What is the purpose of the apostrophes?