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
Paulius Slikas
10,201 PointsRed "src" tags in Workspaces
Hi, I'm trying to add a custom icon font to my webpage which I'm developing in Workspaces, but it doesn't work, I have a suspicion that the red src tags might be the problem.
Some code:
@font-face {
font-family: 'FontelloReader';
src: url('../font/reader.eot?2970119');
src: url('../font/reader.eot?2970119#iefix') format('embedded-opentype'),
url('../font/reader.woff?2970119') format('woff'),
url('../font/reader.ttf?2970119') format('truetype'),
url('../font/reader.svg?2970119#FontelloReader') format('svg');
font-weight: normal;
font-style: normal;
}
Maybe anyone could tell me why they are red.
Thanks in advance, Paulius.
1 Answer
Matt Spiel
2,617 PointsPaulius Slikas it looks like it's a bug in the code rendering. Your code appears to be fine. Will take a deeper look in to it this week.
Paulius Slikas
10,201 PointsPaulius Slikas
10,201 PointsI made a copy of my project, the icons started working, maybe there was a problem somewhere else, "src" tags are still marked as incorrect though.