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 trialJacob Roman
22,640 PointsFramework Basics - Foundation First Challenge
In the first challenge for Build a Website with Foundation. I am on part 4 and I am asked to: "Add the class that will hide the paragraph on small devices."
My code is as follow:
<!-- Top Bar -->
<div class="contain-to-grid">
<nav class="top-bar">
<a class="main-logo" href="#">Ribbit</a>
<p class="right hide-for-small-only">A Treehouse Project</p>
</nav>
</div><!-- Top Bar -->
Am I missing something? I tried different classes and on different elements but still do not get an answer? Help? Anyone?
Guil Hernandez
Treehouse TeacherHey Jacob Roman,
The code challenge uses the Foundation 4 syntax. You'll need to omit -only
and it'll pass. In the final stage of Framework basics I cover all the updates in Foundation 5.
1 Answer
Jacob Roman
22,640 PointsThanks for the reply guys, I didnt even realize that I was looking at the wrong Foundation Docs. Thanks for the help!
Christopher Hall
9,052 PointsChristopher Hall
9,052 PointsYou should find your answer here: http://foundation.zurb.com/docs/v/4.3.2/components/visibility.html