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 trialRobert Bilic
6,155 PointsWithin the fittext script, add a value of "0.8" between the parenthesis following fitText to force the headline to shrink more aggressively.
I just can't find the solution for this. This challange is placed in Build a Responsive Website - Advanced Techniques - Viewport Sized Typography & FitText.js. Thx in advance
1 Answer
Katie Purdy
56,547 PointsNear the bottom of the code inside the script tags you'll see
$("#fittext1").fitText();
In between the empty parenthesis is where you want to insert 0.8 (no quotation marks!)
Achilles Angel
Courses Plus Student 5,368 PointsAchilles Angel
Courses Plus Student 5,368 PointsThanks Katie!