how to link javascript to html and css code example
Example 1: linking a script .js
<script type="text/javascript" src="path-to-javascript-file.js"></script>
Example 2: import script html
<html>
<head>
<script type="text/javascript" src="/path/to/script.js"></script>
...
Example 3: how to link javascript to html and css
# Javascript
<script src="[file_name].js"></script>
# CSS
<link rel = "stylesheet" type="text/css" href = "style.css" />
Example 4: how to add javascript in html
<script src="script.js"></script>