How to add JavaScript code to HTML5
let's start from opening a text editor, copy/past the code below and save as "MyTest.html". Here a very basic HTML5 code:
<!doctype html>
<html>
<head>
<title>Great Home Page in HTML5</title>
<meta charset="utf-8">
<!--CSS-->
<link rel="stylesheet" href="css/styles.css">
</head>
<body>