I am new to programming, and just started to learn JavaScript. I use VScode and found LiveServer Preview is very useful as I can see the changes I made straight away. However, I only can see Html, Css even other simple JS input (as long as they are not pop ups), but not Alert and Prompt in JavaScript - for example, simple alert message window. If I open the same html page alone as a separate page not within VScode, then I can see the javascript changes.
Would be great if someone can help and hope the screenshots helps.
Thank you so much.
the extension in VSCode open it outside VSCode - can see the alert message
After researched on this side, I uninstalled and reinstalled LiveServer Preview, I also closed and reopened VSCode and expect to see the JS changes. But still only can see the HTML part.