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 Basics (2014) Enhancing the Design With CSS Adjusting the Layout with Media Queries

Ryan B.
Ryan B.
3,236 Points

Meta Tag

Can we add the meta tag

<meta name="viewport" content="width=device-width">

in the beginning stages of building our app knowing that it will eventually need to be done?

1 Answer

steyoung
steyoung
12,781 Points

I would think maybe you would want to itemize the widths depending on the viewport. The experience on the web may not be very desirable and if you wanted to make adjustments for the web, I imagine that could be tiresome and cause issues. I think the media query would be best.

I'm still new at all of this myself but I think if it was something preferable, it would have been demonstrated already. When I studied How To Build A Website and CSS both instructors used media query in CSS. That's also the approach I'm taking, it's easier to adjust once everything is in place.

Ryan B.
Ryan B.
3,236 Points

Thanks Stephan. Hey good luck moving forward, we have a lot cut out for us.