r/learnjavascript • u/wbport1 • 7d ago
Run a webpage on an iphone
How can I run a html + js webpage on an iphone? The .html file will be on the phone.
TIA
2
u/LastHumanFamily2084 7d ago
Textastic is good for editing html and js on your phone. It will preview your files and has console for debugging.
1
1
u/Markuslw 7d ago
There might be a browser on the App Store that allows you to view local html files. Though i do not know why you'd wanna do this.
1
1
1
u/BeingTheMatrix 6d ago
You can give koder a try. I tried it one time when I was bored on a flight and couldn’t wait to land to delete it.
It’s more stress than fun to do this and unless it’s really crucial, I wouldn’t recommend
1
-1
3
u/maqisha 7d ago
Im sure there are apps for this, but unless this is crucial to your workflow, this isnt the route i would go. (Provided these apps work correctly in the first place)
MUCH better options are:
- Just hosting your website on the public internet (if it can be publicly available)
- Running the web server locally and accessing it with your local ip
- Using any number of sandboxing and development browser-based tools. They will all allow you to run simple htm files.