Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Why is this snippet of code not part of the first videos?

When viewing my portfolio website in Chrome on my LG L70 phone, it was in desktop format and I thought it would be more helpful if I could see what it would actually look like formatted for an android phone, because I thought it would be more helpful.

For me, It was helpful to see the difference.

Why didn't the teacher add this to the video?

<meta name="viewport" content="width=device-width, initial-scale=1">

4 Answers

Hi,

Depends what video it is. You start form basics dont you? he introduce this later one . But like i said depends what video it is . Portfolio ? it teaches you about basics . Later one you will learn css foundations and you will learn about this as well. So you will learn about jQuery for resising the window like for desktop , tablet and mobile phone and in late stage he may introduce you to the code and you will see how helpful is that .

Hope you meant that :)

Hi Jeffrey,

Are you at an early stage of "How to make a website"?

If so, that code is added in at some point. Maybe the responsive stage.

I'm right at the responsive part and I chose to look for a solution myself and thought that if it wasn't part of the videos it would be nice to add it, because it helped me.

Thanks for your time!

Yeah, I jumped the gun, I just saw the part in the video about the snippet.

<meta name="viewport" content="width=device-width, initial-scale=1.0">

It is in the video "Stage 8" "Responsive Web Design and Testing" "Adjust the Profile Page and Header".

I guess I was going a step ahead of the teacher.