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

Jia Li
Jia Li
6,363 Points

Mobile-first HTML&CSS files preview on iphone

How to preview mobile-first HTML&CSS files on an iphone? I tried using dropbox, but it can only show a single HTML file without other linked CSS or HTML files. Please help.....

2 Answers

SP Prabhakar
SP Prabhakar
11,429 Points

you can preview your pages through chrome developer tools. there is option to preview your pages on different mobiles devices from samsung to iphone and ipad as well. If you want to see your pages on iphone , you need to first host your web page through godaddy or other web hosters and then you can view your pages through iphone. go to google chrome, open your page through chrome browser in desktop and press ctrl+shift+I and then ctrl+shift+M. i think it would help you better.

SP Prabhakar
SP Prabhakar
11,429 Points

Dear Jia, Kindly elaborate your question so that i can help you. What are you trying to do?

Jia Li
Jia Li
6,363 Points

I was trying to get a preview of all the HTML & CSS files on my iphone 5 SE (To make sure the website looks good on all small devices), but failed. I moved those files to my phone with Dropbox...any helpful advices ? Thanks in advance !