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

Can't seem to upload a web-font

I've got no idea whats wrong with my code since I followed to video correctly.

@font-face {

font-family: 'FFF Tusj';
src: url('FFF_Tusj-webfont.eot');
src: url('../Fonts/FFF_Tusj-webfont.woff') format('woff'),
       url('../Fonts/FFF_Tusj-webfont.ttf') format('truetype');

}

----------------------------------

h1,
h2{

  font-family: 'FFF Tusj', Arial, sans-serif;

}

Can you take a snapshot of your workspace? It is the camera icon in the upper right corner.

2 Answers

Sorry, I'm actually coding via Atom, any idea how I share my screen from there?

Rich Donnellan
MOD
Rich Donnellan
Treehouse Moderator 27,696 Points

Are the font files actually located in a folder named Fonts? Without knowing your tree structure, it's hard to provide a definitive answer.

Also, this line doesn't match the others (not referencing the folder Fonts):

src: url('FFF_Tusj-webfont.eot');