Answers for "put js in html"

5

killing a port mac

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

release a port in mac

sudo lsof -i :<port>
Posted by: Guest on August-23-2020
27

how to link your js file to html

<script src="index.js"></script>
Posted by: Guest on March-08-2020
2

include js in html

<html>
    <head>        
    </head>
    <body>
    
        <script type="text/javascript" src=es4.js></script>
           
    </body>
        
</html>
Posted by: Guest on January-26-2021
6

how to put javascript in HTML

<script>
  //put your java script here
  </script>
Posted by: Guest on March-21-2021

Browse Popular Code Answers by Language