you need to create a new folder and name it with a .js like TestSite.js and then load this in your source file on html like this <!script src=“TestSite.js”>. (remove the “!” for it to run properly it doesnt show when i write exact code on here)
do your work in this file and hit ctrl+shift+b to run it. After you save the code and folder then open your web page and prompt() should work just make sure you save. and this preview window will help.https://youtu.be/Jr7eqR3NN5U
Remember this package only shows whats in the console.log other things such as prompt() and alert() only show when you load a web page so make sure you save your code then load the page and the alert will work… btw i am new too and could be wrong but hell it’s a learning process for all of us.