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

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 !