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 Content Layout with Grids

In Framework Basics Custom Foundation how do you set the width of 5 columns?

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.

Bummer! Make sure you're spanning it the width of 5 columns in the large grid. <div class="ft copy large-5 columns>

index.html
<!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="large-5 columns">
      <h2>Securely delete photos &amp; 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

Nancy - Your "large-5" column is not inside ".row". You only have 1 div inside ".row".