I can't get my code to show on the WebView

Can you please share your Repl link?

But I think I know what your problem is:

When you run your Repl in the webview by default, it’s trying to pull up the root of your website. The “root” is basically just the / path of your website. So basically, the file that is shown at that slash path is called index.html. So your homepage should be named index.html if you want it to show when you run the Repl. Running it in WebView will pull up your index.html file, not the file you’re currently looking at.

2 Likes