From 59d70afd9710bb8092988a2f79cf98c69be4d043 Mon Sep 17 00:00:00 2001 From: polsevev Date: Mon, 13 Jan 2020 19:16:42 +0100 Subject: [PATCH] satt opp litt greier --- index.html | 29 +++++++++++++++++++++++++++++ main.css | 0 script.js | 10 ++++++++++ 3 files changed, 39 insertions(+) create mode 100644 index.html create mode 100644 main.css create mode 100644 script.js diff --git a/index.html b/index.html new file mode 100644 index 0000000..b2ffcf6 --- /dev/null +++ b/index.html @@ -0,0 +1,29 @@ + + + + + + + The HTML5 Herald + + + + + + + + + +

Hangman 2020 av Rolf Martin Glomsrud

+ + + + + + + + + + + + \ No newline at end of file diff --git a/main.css b/main.css new file mode 100644 index 0000000..e69de29 diff --git a/script.js b/script.js new file mode 100644 index 0000000..f3fdffc --- /dev/null +++ b/script.js @@ -0,0 +1,10 @@ +var c = get("myCanvas"); +var ctx = c.getContext("2d"); +ctx.moveTo(0, 0); +ctx.lineTo(200, 100); +ctx.stroke(); + + +function get(a){ + return document.getElementById(a); +} \ No newline at end of file