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

CSS CSS Basics (2014) Enhancing the Design With CSS Web Fonts with @font-face

jahl
jahl
2,370 Points

Red "src"

Hi,

What's up with the red "src" property of @font-face? Doesn't it indicates an error?

5 Answers

Right. He is not bothered because it is coded correctly even if the text editor doesn't know that.

The 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
jahl
2,370 Points

That makes sense. Thanks again Ted :)

Ted Sumner - what is the difference between href and src when linking to the contents in other folders?

jahl
jahl
2,370 Points

Hi 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.