From 3c76310c5d249d2d933b9a507d9cab8f7d4b6962 Mon Sep 17 00:00:00 2001 From: Vanluren Date: Thu, 4 Feb 2016 00:19:04 +0100 Subject: [PATCH] Set the name to .html and changed the placement of the tekst --- erdatbarenaaben.dk => erdatbarenaaben.html | 7 +------ style.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) rename erdatbarenaaben.dk => erdatbarenaaben.html (98%) diff --git a/erdatbarenaaben.dk b/erdatbarenaaben.html similarity index 98% rename from erdatbarenaaben.dk rename to erdatbarenaaben.html index 8d1361d..90c3273 100644 --- a/erdatbarenaaben.dk +++ b/erdatbarenaaben.html @@ -25,25 +25,20 @@ weekday[6] = "Lørdag"; var answer = document.getElementById("answer") - if (n == 5) { answer.innerHTML = "Baren skulle være åben fra klokken 15:00!"; } - else { answer.innerHTML = "Baren er desværre ikke åben, da det er " + weekday[n] + " og klokken er " + hours + ":" + minutes; } } - + -
- - diff --git a/style.css b/style.css index e69de29..c9ec4a2 100644 --- a/style.css +++ b/style.css @@ -0,0 +1,12 @@ +body{ + width: 100%; + background-color: #2E4172; + color: #B4C0DE; + font-style: normal; + font-family: sans-serif; + font-size: 50px; +} +#answer{ + width: 1087px; + margin: 350px auto 0 auto; +}