Answers for "reference javascript code in html"

5

Error: listen EADDRINUSE: address already in use :::3000

sudo lsof -i :3000
Posted by: Guest on April-29-2020
1

Error: listen EADDRINUSE: address already in use :::3000

//Run this command to get the PID of the running 
ps aux | grep node
//Then kill/stop it by 
kill -9 PID
Posted by: Guest on August-09-2021
80

import js in html

<script type="text/javascript" src="yourfile.js"></script>
Posted by: Guest on February-23-2020
10

how to add script in html head

<script src="script.js" defer></script>

<!--just add defer attribute so script will execute at last-->
Posted by: Guest on August-21-2020

Code answers related to "reference javascript code in html"

Browse Popular Code Answers by Language