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

What am i doing wrong? Step 4 of the code challenge

Step 4 of the code challenge says to add the class that will hide the first column in small screen sizes. I added "hide-for-small" to the div on line 17. In the preview, if i decrease the width of the window, the column disappears, but if i submit, I am told that the code is wrong? what am I missing?

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 row">

    <div>
      <div class="ft-icon rnd camera large-6 columns hide-for-small"></div>
    </div>

    <div class="ft-copy 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

Jonathan Dewitt
Jonathan Dewitt
8,101 Points

The challenge is pretty picky. This is what you're looking for:

<div class="large-6 hide-for-small columns">
      <div class="ft-icon rnd camera"></div>
</div>

Thanks so much. I was pulling my hair out!