Vscode, live server and php templates

Hello Campers.
please I use visual studio code to open php template then I use live server extension to live preview on the browser.
also of course I use Xampp at the same time.

I have tried openning some templates, but unfortunately none of them displyed well on the browser

here are some photos of the templates and how they look like on the browser
please, what should I do?

and many thanks in advance