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

HTML How to Make a Website Customizing Colors and Fonts Add Fonts

it tells me that i have removed my h1 tag but i have it on there

i have h1 { font-family: 'Roberto' ,sansrif }

2 Answers

Jason Berteotti
Jason Berteotti
12,352 Points

you have sans-serif written improperly, and that will invalidate your CSS code.

Could it be, that you used the Google Font 'Roboto' instead of 'Roberto'(I could not even find a google font with that name)? I'm pretty sure that 'Roboto' was used in the video.

h1 {
 font-family: 'Roboto', sans-serif;
}
Kristopher Van Sant
Kristopher Van Sant
Courses Plus Student 18,830 Points

Hey there Tobias! I moved your answer to the answer section so that the community can vote on it and just in case Chris wants to choose your answer as "Best Answer".