Change the webview and not always the same file

When we click on run, it displays the webview of the current file we are working with

In HTML, the webview is always the index.html and we cannot change it to another file

I clicked on run for watch the webview of my login.html but it opened the index.html and there was no way on the app to change it

1 Like

As I am still learning HTML and CSS, I’m not sure the correct way to fix this but I know a workaround. Link the required file to the file you start in, or you could also ask google this and that could work.

<a href="second.html">click me</a>
3 Likes

Welcome to Ask! Could you provide the link to your repl and elaborate on the issue (screenshots or videos are much appreciated)?

1 Like

Basically, they want the Webview to show something other than index.html.

1 Like

@AxechopititPiti You can’t change it, it’s just like that. You can link it like what @jasecrowe said or rename login.html to index.html.
Hope this helps!

3 Likes