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 Build a Responsive Website Advanced Techniques Viewport Sized Typography & FitText.js

Jay Thompson
Jay Thompson
2,302 Points

Example fittext video cannot duplicate

I am getting an undefined error from chrome saying fittext.js function not loading: https://www.dropbox.com/s/li92lscytgffmoo/Screenshot%202014-04-20%2008.28.39.png

I have the javascript downloaded and put in website directory along with picturefill.js that is loaded successfully.

3 Answers

Jay Thompson
Jay Thompson
2,302 Points

It seems that the solution was the googleapi link I was using was 1.7.2 but I was using just version "1" since I saw it in example code. Guess it was too old?

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

Jay Thompson
Jay Thompson
2,302 Points

It seems that the solution was the googleapi link I was using was 1.7.2 but I was using just version 1 since I saw it in example code. Guess it was too old?