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


Twitter icon enlarged?

I am building my "Smells Like Bakin" web site and have just added the first round of CSS. For some reason my twitter icon has enlarged a lot in length. In turn the copyright statement has not moved to the right. I can not see a difference in code from my web site to treehouses. Does anyone have a suggestion on a mistake I have probably made? Thank you.

James Barnett
James Barnett
39,199 Points

It's hard to say without seeing your HTML & CSS. Can you post them here?

Thank you, when I take the css grid_12 out of the copyright section, the icon goes back to normal size. However the copyright section, does not move to the right and take up the 12 grids.

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>Smells Like Bakin' Cupcake Company</title>
  <link rel="stylesheet" href="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage3/css/normalize.css" type="text/css" media="screen">
  <link rel="stylesheet" href="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage3/css/grid.css" type="text/css" media="screen">
  <div class="container clearfix">
    <div class="grid_4">
      <img src="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage2/img/logo.gif" alt="smells Like Bakin">
    <div class="grid_8 omega">
      <ul class="nav">
      <li><a herf="#">About</a></li>
      <li><a herf="#">Cupcakes &amp; Prices</a></li>
      <li><a herf="#">Locations</a></li>
      <li><a class="last"><a herf="#">Contact Us</a>
    <div id="intro" class="grid_9">
      <h1>Opposites really do attract, especially in our kitchen! We combine unexpected flavors that melt together to create ironically delicious desserts. </h1>

    <p><a href="#" class="btn">Browse Our Cupcakes</a></p>

    <div class="grid_3 omega">
      <img src="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage2/img/you-bake-me-blush.gif" alt="You Make Me Blush">

      <div id="Featured Cupcake" class="grid_7">
        <h2>Cupcake of the Week</h2>
        <p>This week’s featured cupcake is the <a href="#">Avacado Chocolate Cupcake</a>.  It’s strange combo of flavors will kick your taste buds into fiesta mode!</p>

        <img src="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage2/img/featured-cupcake.jpg" alt=Avacado Chocolate Cupcake">

      <div id="new-cupcakes" class="grid_5 omega">
        <h2>Fresh Out of the Oven</h2>
        <p>Our newest cupcakes are <a href="#"> Bacon Me Crazy</a> and<a href="#"> Jalapeno So Spicy</a>.</p>
        <img src="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage2/img/new-cupcake-bacon.jpg" alt+"Bacon Me Crazy">
        <img src="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage2/img/new-cupcake-jalapeno.jpg" alt="Jalapeno So Spicy">

      <div class="grid_7">
        <h2>Inside the Kitchen</h2>
        <p>Smells Like Bakin’ started out in the garage of the husband wife duo Allison &amp; Joseph. Allison is the baker, and Joseph found a way for them to make a business out of her tasty treats. Flash forward to today and they have a successful store front, catering business and cupcake truck. 
        <p><a href="#" class="btn-small">Read More</a>

   <div class="grid_5 omega">
      <h2>Get Bakin' with Us</h2>

  <div id="contact">
        <p>Call Us: <span> 1-800-CUP-CAKE<span><br>
          Email Us: <a href="#">bakeon@smellslikebakin.co</a></p>

      <p>We announce all of our new flavors first through Facebook &amp; Twitter, and even take requests!</p>
        href="http://www.facebook.com/SmellsLikeBakin"><img src="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage2/img/facebook.gif" alt="facebook"></a>

      <a href="https://twitter.com/#!/smellslikebakin"><img src="http://treehouse-code-samples.s3.amazonaws.com/WWIsland1/stage2/img/twitter.gif" " alt="Twitter></a>


    <div id="copyright" class="grid_12">
      <p>&copy; 2012 Smells Like Bakin' Cupcake Company.  All Rights Reserved.</p>



3 Answers

James Barnett
James Barnett
39,199 Points

You've got quite a few validation errors, unclosed elements, typoed attributes, missing quotes to name a few.

Run your HTML through a validator either http://www.htmllint.net/en/html-lint/htmllint.html# or http://validator.w3.org/nu/

Then fix the errors one at a time. Using a text editor like Notepad++, Text Wrangler or Sublime Text should help as they usually have syntax highlighting which helps you notice when your HTML doesn't look right.

Once your markup validates you should be good to go.

Thank you for your time and advice.

James Barnett
James Barnett
39,199 Points

Keep at it you'll get it! It took me a while to fix all the issues the validator found to make sure there wasn't something else going on. Let me know here in the thread if you run into an error you can't figure out after a while (say half an hour).

Hi James,

Just letting you know I have sorted out my mistakes. Thank you for the validator tip. I am sure there are a few errors I wont make again. Have a good day.