diff options
-rw-r--r-- | index.css | 9 | ||||
-rw-r--r-- | index.html | 19 | ||||
-rw-r--r-- | index.js | 3 |
3 files changed, 31 insertions, 0 deletions
diff --git a/index.css b/index.css new file mode 100644 index 0000000..da880ba --- /dev/null +++ b/index.css @@ -0,0 +1,9 @@ +:root { + --foreground-color: rgba(0, 0, 0, .8); + --background-color: rgb(255, 255, 255); +} + +body { + color: var(--foreground-color); + background-color: var(--background-color); +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..bf1d2ce --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ +<!doctype html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="author" content="Stefan Kreutz"> + <meta name="copyright" content="Copyright © 2021 Stefan Kreutz"> + <meta name="description" content="A simple HTML5 skeleton"> + <title>HTML5 Skeleton</title> + <link rel="stylesheet" href="index.css"> + <link rel="icon" href="data:,"> + <script src="index.js" async></script> + </head> + <body> + <h1>HTML5 Skeleton</h1> + <p>Hello, world!</p> + <noscript>Enable JavaScript to see the alert!</noscript> + </body> +</html> diff --git a/index.js b/index.js new file mode 100644 index 0000000..b538389 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +(function () { + window.addEventListener("load", function() { alert("Hello"); }, false); +})(); |