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 Enhancing Design with CSS Styling Text Google Fonts

I am following all the changes with Anwar, but my page is stuck in times new roman?

here is my CSS code

/* Web Fonts ----------------------- */

@font-face { font-family: 'Abolition Regular'; src: url('../fonts/abolition-regular-webfont.woff') format('woff); } /* Base Styles --------------------- */

  • { box-sizing: border-box; } html { font-size: 1.25em; /* 20px on most screens */
    } body { font-family: 'Work Sans', sans-serif; color: #454959; font-weight:300; } h1, h2 { font-family:'Abolition Regular', Impact, Charcoal, Sans-Serif; font-weight: normal; }

h1{ font-size: 4rem; } h2{ font-size: 2.5rem; } h3{ font-size: 1.25rem; } img { width: 100%; /* responsive images */ }

/* Main Styles --------------------- */

/* Media Queries ------------------- */

1 Answer

oh I forgot how you highlight and paste code so it's not all wonky! If someone could answer that too!:(