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

Creating a website badge

Im having trouble with the layout of my website through following the videos. ive completed the badge but is annoying me that my own website has the "Get Bakin' with Us" & "Call us: 1-555-CUP-CAKE" at the top of the page and just next to the main logo? Ive been through the grid frameworks twice now and still the wording appears at the top? Any ideas on what i might be doing wrong?

Here is my html:

<DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells like bakin' Cupcake Company</title> <link rel="stylesheet" href="css/normalize.css"type="text/css" media="screen"> <link rel="stylesheet" href="css/grid.css"type="text/css" media="screen"> </head> <body>

<div class="container clearfix">
  <div class="grid_4">
    <img src="img/logo.gif" alt="Smells Like Bakin">
  </div>
  <div class="grid_8 omega">
    <ul class="nav">
      <LI><a href="#">About</a></LI>
      <LI><a href="#">Cupcakes &amp; Prices</a></LI>
      <LI><a href="#">Locations</a></LI>
      <LI class="last"><a href="#">Contact Us</a></LI>
    </ul>
  </div>

  <div id="intro" class="grid_9">
    <h1>Opposites really do attract, especially in our kitchen! We combine unexpected flavours that melt together to create ironically delicious desserts.</h1>
    <p><a href="#" class="btn">Browse Our Cupcakes</a></p>
  </div>

  <div class="grid_3 omega">
    <img src="img/you-bake-me-blush.gif" alt="You Bake Me Bush">
  </div>

  <div id="Featured-cupake" class="grid_7">
    <h2>Cupcake of the Week</h2>
    <p>This week's featured cupcake is the <a href="#">Avocado Chocolate Cupcake</a>. Its strange combo of flavours will kick your taste buds into fiesta mode!</p>
    <img src="img/featured-cupcake.jpg" alt="Avocado Chocolate Cupcake">
  </div>

  <div id="new-cupcakes" class="grid_5 omega">
      <h2>Fresh out the Oven</h2>
      <p>Our newest cupcakes are <a href="#">Bacon Me Crazy</a> and <a href="#">Jalapeno So Spicy</a>.</p>
      <img src="img/new-cupcake-bacon.jpg" alt="Bacon Me Crazy">
      <img src="img/new-cupcake-jalapeno.jpg" alt="Jalapeno So Spicy">
  </div>
  <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; Joesph. Allison is the baker, and Joesph 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>
      <p><a href="#" class="btn-small">Read More</a></p>
  </div>
  <div class"grid_5 omega">
    <h2>Get Bakin' with Us</h2>

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

    <p>We announce all of our new flavours through Facebook &amp; Twitter, and even take requests!</p>
    <a href="http://www.facebook.com/SmellsLikeBakin"><img src="img/facebook.gif" alt="Facebook"></a>
    <a href="http://www.twitter.com/#!/SmellsLikeBakin"><img src="img/twitter.gif" alt="Twitter"></a>
  </div>

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

</body> </html>

2 Answers

You've answered your own question here. In your code, you can see the typo highlighted. You should also see that highlighted if you are using one of the recommended text editors.

Edit: Actually it doesn't show up in Sublime Text 2. I would recommend running your code through http://validator.w3.org/ to pick up typos. Not sure which course that is covered in, HTML Deep Dive I think. I've solved multiple problems on here just by running people's code through that and finding their typos.

Haha, I didn't see that after i posted it! Very silly its always the smallest things that are easily missed! Thanks for pointing that out although it didn't show up in my text editor?

Yeah, strange about that, you'd think the text editor would notice it, I edited my original post. No probs! Good luck with your future efforts :)

Perfect, im sure i will come across this shortly! thanks again.. Sounds a very useful tool for these sort of problems.