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 trialAbby Roe
6,375 PointsWhy is 'src' in my CSS flagged red?
I am on the Line-height and Letter-spacing video in Enhancing Design with CSS. I looked over my CSS code on the way to input a line-height command when I saw that my 'src' was flagged red. It is on line 4, in style.css. Here is the screenshot of my code: https://w.trhou.se/4qc9nzxqff. I thought at first it was flagged because of a missing parenthesis or quotation mark, and I had my Dad look at it, too, but neither of us could figure out why it had been flagged. I believe the workspace falsely flagged it, but I wanted to post my dilemma here in case I'm missing something. Thanks!
1 Answer
Mark Sebeck
Treehouse Moderator 37,905 PointsHi Abby Roe . Let me start by saying I am far from an CSS expert. But looking at font-face syntax on mozilla.org I do not see anything wrong with src. The more important question is does it work?
Abby Roe
6,375 PointsAbby Roe
6,375 PointsWhen I look at the Web page it's importing fonts to, it appears to be working fine. I only recently realized it was highlighted, since once it worked I didn't think to look at it again, and I moved on.
Thank you for your help!