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

CSS Framework Basics Build a Website with Foundation Building the Callout and Footer Sections

CSS FRAMEWORK BASICS

Can anyone help me on this, please complicated ....

Challenge Task 4 of 4 Finally, give the div on line 26 a class that will offset it by 2 columns in the large grid.

index.html
<!DOCTYPE html>
<html>

<head>
  <title>Ribbit - A Treehouse Project</title>
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" href="css/foundation.min.css">
</head>
<body>

  <div class="row"> 
    <div class="callout large-12 columns">
      <a href="#">Sign up for Treehouse<i class="fi-arrow-right"></i></a>
      <a href="#" class="button">default Button</a>
      <a href="#" class="button success">Success Button</a>
      <a href="#" class="button round">Round Button</a>
<a href="#" class="button radius">Radius Button</a>
    </div>
  </div>

  <!-- Footer -->
  <div class="row main-footer">
    <div class="large-4 columns">
      <img class="th-logo" src="img/logo-footer.png" alt="logo">
      <p>

           <div class="large-offset-2 columns">
        Our mission is to bring affordable Technology education to people everywhere, in order to help them achieve their dreams and change the world.
      </p>
      <p class="copyright">&copy; 2013 Treehouse Island, Inc.</p>
    </div>
    <div class="large-2 columns">
      <ul class="link-list">
        <li class="heading"><a href="#">Start learning free &rarr;</a></li>
        <li><a href="#">About Treehouse</a></li>
        <li><a href="#">Treehouse Blog</a></li>
        <li><a href="#">Treehouse Shop</a></li>
        <li><a href="#">Privacy Policy</a></li>
        <li><a href="#">Terms &amp; Conditions</a></li>
      </ul>            
    </div>
    <div class="large-2 columns">
      <ul class="link-list">
        <li class="heading"><a href="#">Browse our library &rarr;</a></li>
        <li><a href="#">Website Design</a></li>
        <li><a href="#">Web Programming</a></li>
        <li><a href="#">iOS Development</a></li>
        <li><a href="#">Android Development</a></li>
        <li><a href="#">Wordpress</a></li>
      </ul>
    </div>
    <div class="large-2 columns">
      <ul class="link-list">
        <li class="heading"><a href="#">Get in touch &rarr;</a></li>
        <li><a href="mailto:hi@teamtreehouse.com">Email us</a></li>
        <li>1(888)555-1234</li>
      </ul>
    </div>
  </div><!-- End footer -->      

</body>
</html>

8 Answers

Vedran Brnjetić
Vedran Brnjetić
6,004 Points

This is my code that worked (I followed the instructions from the challenge) Note: You added 3 buttons, but you only needed to add the necessary classes to the anchor element that was already there. That's 3 new lines that weren't supposed to be there, but somehow passed the previous tasks. I didn't have time to inspect where did you add another 3 lines, but in the code you posted, the element you needed to fix was on line 32 instead on line 26.

Hope this helps

<!DOCTYPE html>
<html>

<head>
  <title>Ribbit - A Treehouse Project</title>
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" href="css/foundation.min.css">
</head>
<body>

  <div class="row"> 
    <div class="callout large-12 columns">
      <a class="button success radius" href="#">Sign up for Treehouse<i class="fi-arrow-right"></i></a>
    </div>
  </div>

  <!-- Footer -->
  <div class="row main-footer">
    <div class="large-4 columns">
      <img class="th-logo" src="img/logo-footer.png" alt="logo">
      <p>
        Our mission is to bring affordable Technology education to people everywhere, in order to help them achieve their dreams and change the world.
      </p>
      <p class="copyright">&copy; 2013 Treehouse Island, Inc.</p>
    </div>
    <div class="large-2 large-offset-2 columns">
      <ul class="link-list">
        <li class="heading"><a href="#">Start learning free &rarr;</a></li>
        <li><a href="#">About Treehouse</a></li>
        <li><a href="#">Treehouse Blog</a></li>
        <li><a href="#">Treehouse Shop</a></li>
        <li><a href="#">Privacy Policy</a></li>
        <li><a href="#">Terms &amp; Conditions</a></li>
      </ul>            
    </div>
    <div class="large-2 columns">
      <ul class="link-list">
        <li class="heading"><a href="#">Browse our library &rarr;</a></li>
        <li><a href="#">Website Design</a></li>
        <li><a href="#">Web Programming</a></li>
        <li><a href="#">iOS Development</a></li>
        <li><a href="#">Android Development</a></li>
        <li><a href="#">Wordpress</a></li>
      </ul>
    </div>
    <div class="large-2 columns">
      <ul class="link-list">
        <li class="heading"><a href="#">Get in touch &rarr;</a></li>
        <li><a href="mailto:hi@teamtreehouse.com">Email us</a></li>
        <li>1(888)555-1234</li>
      </ul>
    </div>
  </div><!-- End footer -->      

</body>
</html>
Vedran Brnjetić
Vedran Brnjetić
6,004 Points

on line 26

      <div class="large-2 columns"> 

you have to add Foundation's large-offset-2 class

?

Vedran Brnjetić
Vedran Brnjetić
6,004 Points

sorry, I had some formatting issues

all good thank you for help..... i will try now

no work

Vedran Brnjetić
Vedran Brnjetić
6,004 Points

Looks like you added a few lines that weren't supposed to be there. It's line 32 now for you.

you cool..... very good job thank you.... i spend all day.....

Vedran Brnjetić
Vedran Brnjetić
6,004 Points

I spent many days before I was able to do that. =)

And I keep learning every day.

I do not quite understand that part of columns, but I am very grateful for the help ....

I was all day trying to solve this task bug.....

thank you my friend...