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

HTML

My website doesn't look like how I designed it for phones. It's using the desktop look.

I just finished How to Make a Website and although my website is responsive on my laptop, it looks like the desktop version on my phone which is small. Why and how do I fix this? My website is www.lawyered.ga

2 Answers

Yes what you are saying is right (also your website redirected me to an ad while I was browsing it on my phone which was odd). I think the problem with its responsiveness is that you have written the viewport wrong. Change :

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

to

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

EDIT

Looks like gloria was just a few minutes ahead of me :). upvoting her answer

Your answer was awesome as well :) Thumbs up!