HOW TO USE / POCKET WEB STUDIO
Preview HTML and JavaScript on iPhone
A browser preview is different from looking at the source code. Pocket Web Studio renders the local webpage so you can test its layout and browser interactions.
Step by step
Open a website project
Create a new project or import your HTML files or ZIP project from Files.
Check the entry file
Open index.html or the specific page you want to test.
Tap Preview
The browser view loads the HTML and any linked local assets.
Test the interaction
Tap buttons, follow links and use the Console control to inspect browser messages.
Refine and refresh
Return to Code, edit the source and refresh the preview as needed.
Troubleshooting blank pages and missing styles
Check that your filenames match exactly, including case. If the CSS file is next to index.html, link it as shown below. If it is in a css folder, use css/style.css. A ZIP containing a website should keep the files in their original relative locations.
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>External assets may need network access. PHP, server-side code and npm projects are not executable as a plain local HTML preview.

Ready to build your next website?
Take your ideas, code and projects wherever you go. £0.99 UK App Store price; prices vary by region.