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 Building the Top Bar

David Marsh
David Marsh
4,712 Points

Struggling on Task 4 - Surely to class to hide the paragraph on small devices would be "hide-for-small-only"?

Struggling on this one, had a look through the foundation docs and the most obvious answer seems to be adding the "hide-for-small-only" class. However this isn't passing and I can't think of an alternative.

Help?

Thanks

1 Answer

geoffrey
geoffrey
28,736 Points

I checked the zurb foundation website as well. And Indeed, It seems the class that needs to be used is the one you stated... But that's for Zurb Foundation 5 and the beginning of the tutorial seems to be based on the previous version.

So by checking the doc I saw the class was previously hide-for-small

 <p class="right hide-for-small">A Treehouse Project</p>

That's why from what I see there is a section in the tutorial about new things with Foundation 5.

David Marsh
David Marsh
4,712 Points

Thank you, I felt like I was missing something quite obvious!