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

Foundation Framework Basics Using v.4 documentation

Just an FYI that the foundation class is using Foundation version 4(isn) and not Foundation 5.

I found this out on a "Challenge task" that asked me to hide a paragraph on a small device. [Build a Website with Foundation Badge - "Building the Top Bar" challenge] The correct response is the class "hide-for-small" not "hide-for-small-only" as is documented at

http://foundation.zurb.com/docs/components/visibility.html

Use the documentation for v.4 instead at: http://foundation.zurb.com/docs/v/4.3.2/components/visibility.html

Hope this saves someone else a few minutes.

Tom

3 Answers

Mystery solved--thanks! It also seems that the source code files that accompany the videos are based on Foundation 4 as well. I agree with your documentation findings on Zurb's website. hide-for-small-only won't work with the video's source code, but hide-for-small does. They must have changed its name in version 5.

Thanks Guil - Love the videos!!