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

JavaScript

Fittext - Not Working

Okay so I'm working on a website; I tried to use FitText on my headline, so it would not wrap in mobile. The problem is that it wraps. So here's my code...

    <ul>
     <h1 id="fittext">Scramble My Net</h1>
      <li><a href="index.html" class="selected">HOME</a></li>
      <li><a href="#about">About</a></li>
      <li><a href="purchase.html">Purchase</a></li>
      <li><a href="contact.html">Contact</a></li>
    </ul>

Bottom of page 

script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="jquery.fittext.js"></script>
<script>
  jQuery("#fittext").fitText();
</script>
</body>

And here's my css

header h1{
    font-family: 'Roboto', sans-serif;
    font-size: 140%;
    font-weight: 300;
    letter-spacing: 1px;
        text-shadow: 0 1px 1px #FFF;
    margin-bottom:1%;
}

Any help is appreciated. I don't know any programming languages yet; so forgive me if it's obvious.