Search code examples
htmlvisual-studio-codecode-editor

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

  • click on the file and open with live server and then do the same thing for as many HTML files you want to

    enter image description here