-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (60 loc) · 1.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="eng-us">
<head>
<meta charset="utf-8"/>
<title>Is it Misato monday?</title>
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="style_index.css">
</head>
<body>
<script>
var now = new Date();
var days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
var today = days[now.getDay()];
</script>
<div class="title">
<img src="misato_hehe.jpg" alt="Misato dancing" />
<h1>
<script>
if (today == "Monday")
{
document.write("TODAY IS MISATO MONDAY");
}
else
{
document.write("IS TODAY MISATO MONDAY?");
}
</script>
</h1>
</div>
<div class="calendar-header">
<p>TODAY:</p>
</div>
<div class="calendar-page">
<p>
<script>
document.write(today);
</script>
</p>
<h2 class="message">
<script>
if (today != "Monday") {
document.write("It's not Misato monday!");
} else {
document.write("It's Misato monday!");
}
</script>
</h2>
<div class="player">
<img src="https://static.wikia.nocookie.net/evangelion/images/d/dc/NGE01_30.png/revision/latest/scale-to-width-down/1200?cb=20190901081329" alt="Misato car" />
<div class="sound-player">
<audio autoplay="autoplay" controls="controls">
<source src="misato-theme.mp3" type="audio/mp3"/>
</audio>
</div>
<p>MISATO THEME</p>
<p style="font-size: 15px;">ONLY MONDAY</p>
</div>
</div>
</body>
</html>