'How Can I View Two html pages on live server in Visual Studio Code?
So I am trying to figure out if there is any way to make a visual studio code live server to display an HTML page I am currently on. What I mean is that when I create an HTML page it displays on the live server but I want to link another HTML page to that page through anchor text but when I go to the new HTML page I am not able to view it on the live server as it still shows the previous HTML page. What I want to do is to be able to have these two pages running so when I click on one on visual studio code it would show that page on live sever and when I click another page and do a bit of editing, save and refresh it should display that new page on live server
Solution 1:[1]
Just right click on the html page and click Open with Live Server or press CTRL+ALT+P
Solution 2:[2]
in your tags to navigate to the other pages, include the full url.
For instance http://127.0.0.1:5500/xyz.html
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | mk22 |
| Solution 2 | kastech |
