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 trialjahl
2,370 PointsRed "src"
Hi,
What's up with the red "src" property of @font-face? Doesn't it indicates an error?
5 Answers
Ted Sumner
Courses Plus Student 17,967 PointsRight. He is not bothered because it is coded correctly even if the text editor doesn't know that.
Ted Sumner
Courses Plus Student 17,967 PointsThe red indicates that the text editor does not recognize it as correct. I use it as a signal to carefully check what I have done to make sure it is correct and look at the display to ensure it is showing up.
jahl
2,370 PointsThat makes sense. Thanks again Ted :)
Alex Crump-Haill
7,819 PointsTed Sumner - what is the difference between href and src when linking to the contents in other folders?
jahl
2,370 PointsHi Ted,
Thanks for the reply. That's what I thought too, but in this video (https://teamtreehouse.com/library/css-basics/designing-with-the-latest-features/web-fonts-with-fontface), Guil doesn't seem to be bothered by this reds.