Set the name to .html and changed the placement of the tekst

This commit is contained in:
Villads Valur Korsholm Nielsen 2016-02-04 00:19:04 +01:00
parent c655cafe2f
commit 3c76310c5d
2 changed files with 13 additions and 6 deletions

View File

@ -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;
}
}
</script>
</script>
</head>
<body onload="datbarCheck();">
<div id="print"></div>
<div id="answer"></div>
</body>
</html>

View File

@ -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;
}