VS Studio Directory error

I recently transferred my VS studio HTML and CSS files to another PC, and whenever I run Live Server on any of them I get this screen instead of my intended webpage. Anyone have any fixes???

I have had this issue before and it was because I was running live server on a file that was not an html file, I don’t think you are either because otherwise the url would end in ‘5 Hyperlinks.html’

Can you confirm you are indeed running liveserver on an html file?

I just created a new folder, moved the files into it and it worked. No idea how. Also, they were all HTML and CSS files for sure.