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 CSS Layout Basics Page Layout with the Float Property Wrapping Text Around Images with Floats

J Tan
J Tan
11,847 Points

Missing meta viewport tag is required for mobile display in this video project

Hi Tree House Support,

I'm currently working through the video "Wrapping Text Around Images with Floats" and noticed the html file is missing the meta viewport tag for mobile devices.

https://teamtreehouse.com/library/css-layout-basics/page-layout-with-the-float-property/wrapping-text-around-images-with-floats

I was wondering why it was omitted in the project files and workspace. I thought because your CSS is mobile first, therefore it was not necessary. I tested the code on my own localhost via Google Web Starter Kit for my iPhone and got a desktop view of the mobile first layout. Once I added the meta viewport syntax in html, I was able to view the mobile first design.

I think the meta viewport tag should be added to your html project file and workspace so there's no confusion to other students.

Thanks.