i wrote this html document and the script isn't running
alert("my name")
<html>
<body>
fvbnhjm
<script type="text\javascript" src="JavaScript.js">
</script>
</body>
</html>
i installed code runner in vs code and the only thing that i added to settings.json is this
"code-runner.saveAllFilesBeforeRun": true,
"code-runner.saveFileBeforeRun": true,
"code-runner.executorMapByFileExtension": {
".js": "cd $dir $$ start $fileName",
".html": "cd $dir && start $fileName"
},
javascript isn't disabled in my browser, i don't need node.js here but i installed it