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

Ian Mackenzie
Ian Mackenzie
11,062 Points

Hide in small grid

What am I missing here?

<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>
Martin Vesterby
Martin Vesterby
17,222 Points

Hi Ian, this should work

<div class="ft row">

<div class="large-6 columns hide-for-small">
  <div class="ft-icon rnd camera"></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>

1 Answer

Benjamin Harrison
Benjamin Harrison
10,958 Points

Your missing a "/div" at the bottom. Is that causing your issue?

Ian Mackenzie
Ian Mackenzie
11,062 Points

In this lesson the HTML is written by Treehouse I just have to add the correct classes to hide devices in the small grid. I understood from my lessons so far that hide-for-small is the correct class but it won't let me pass. Unless I'm using the wrong class for hiding on small devices?