Como vincular o JS e um arquivo html no vscode
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<body>
<p id="firstParagraph">Hello world!</p>
<script src='js.js'></script>
</body>
</html>
Run code snippet
JB-HACKER