Skip to content
← Back to Community
How can I preview an HTML file that isn't index.html?
Profile icon
bendavis

When you press the Run button, it only ever shows index.html, even if I'm editing a different file. If I create another file (say, page2.html), how do I preview that page?

Voters
Profile icon
AderemiAdesoji
Profile icon
agileben
Profile icon
broputra
Profile icon
bradwray
Profile icon
bendavis
Comments
hotnewtop
Profile icon
Davi1

Test

Profile icon
Vandesm14

Sadly, this is not possible yet. Alternatively, you could open the repl output (repl.co link) in another tab, go to the page, and each time you wish to view the updated code, go to the second tab and refresh the page.

If I answered your question: https://answered--vandesm14.repl.co