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 trialAry de Oliveira
28,298 PointsCSS 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.
<!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">© 2013 Treehouse Island, Inc.</p>
</div>
<div class="large-2 columns">
<ul class="link-list">
<li class="heading"><a href="#">Start learning free →</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 & Conditions</a></li>
</ul>
</div>
<div class="large-2 columns">
<ul class="link-list">
<li class="heading"><a href="#">Browse our library →</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 →</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ć
6,004 PointsThis 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">© 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 →</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 & Conditions</a></li>
</ul>
</div>
<div class="large-2 columns">
<ul class="link-list">
<li class="heading"><a href="#">Browse our library →</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 →</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ć
6,004 Pointson line 26
<div class="large-2 columns">
you have to add Foundation's large-offset-2 class
Ary de Oliveira
28,298 Points?
Vedran Brnjetić
6,004 Pointssorry, I had some formatting issues
Ary de Oliveira
28,298 Pointsall good thank you for help..... i will try now
Ary de Oliveira
28,298 Pointsno work
Vedran Brnjetić
6,004 PointsLooks like you added a few lines that weren't supposed to be there. It's line 32 now for you.
Ary de Oliveira
28,298 Pointsyou cool..... very good job thank you.... i spend all day.....
Vedran Brnjetić
6,004 PointsI spent many days before I was able to do that. =)
And I keep learning every day.
Ary de Oliveira
28,298 PointsI 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...
Vedran Brnjetić
6,004 PointsYou're welcome.