add index.html, index.js

This commit is contained in:
Ray Elliott 2021-02-17 18:36:52 +00:00
parent d89395c716
commit c4681fbd30
2 changed files with 36 additions and 0 deletions

33
src/index.html Normal file
View File

@ -0,0 +1,33 @@
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header class="header"></header>
<main class="main"></main>
<footer class="footer"></footer>
<script src="js/index.js"></script>
</body>
</html>

3
src/js/index.js Normal file
View File

@ -0,0 +1,3 @@
window.addEventListener('DOMContentLoaded', function(event) {
console.log('DOMContentLoaded:', event);
});