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 trialJa'Nel Johnson
10,314 PointsI don't understand what I'm doing wrong. Please help!
Challenge: Give the second div inside .row the class for defining a column. Then set it to span the width of 5 columns in the large grid.
What am I doing wrong?
<!DOCTYPE html>
<html>
<head>
<title>Ribbit - A Treehouse Project</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/normalize.css" >
<link rel="stylesheet" href="css/foundation.css">
<link rel="stylesheet" href="css/my-styles.css" >
</head>
<body>
<!-- Feature Copy -->
<div class="ft">
<div class="row">
<div class="ft-icon rnd camera large-6 columns"></div>
</div>
<div class="ft-copy large-5 columns">
<h2>Securely delete photos & video based on a timer</h2>
<p>
Learn how to write the code that downloads and displays messages, photos, and videos that timeout after a few seconds. Then create the code that deletes them from the back-end to make them "self destruct."
</p>
</div>
</div><!-- End Feature Copy -->
</body>
</html>
1 Answer
Colin Marshall
32,861 PointsYou gave the second div the row class instead of the first div. You got the large-5 columns part correct, you just need to put the row in the correct place and move the large-6 columns up to its parent div.
<!-- Feature Copy -->
<div class="ft row">
<div class="large-6 columns">
<div class="ft-icon rnd camera "></div>
</div>
<div class="ft-copy large-5 columns">
<h2>Securely delete photos & video based on a timer</h2>
<p>
Learn how to write the code that downloads and displays messages, photos, and videos that timeout after a few seconds. Then create the code that deletes them from the back-end to make them "self destruct."
</p>
</div>
</div><!-- End Feature Copy -->