-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (75 loc) · 2.2 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<title>Akan Names</title>
<link rel="stylesheet" href="css/styles.css" type="text/css">
</head>
<body>
<div class="body">
<div class="intro">
<h1>Know your Akan Name!<h1>
<p>This application takes a user's birthday and calculates the day of the week they were born then tells them their Akan(Ghanian) names depending on their gender.</p>
</div>
<div class="content">
<form class="form" action="#" onsubmit="deriveAkanName()">
<p>Your birthday:</p>
<input type="number" id="day" placeholder="Day" min="1" max="31" required>
<input type="number" id="month" placeholder="month" min="1" max="12" required>
<input type="number" id="year" placeholder="year" required>
<p>Select your gender</p>
<select id="gender" name="gender">
<option disabled selected>Gender</option>
<option>Male</option>
<option>Female</option>
</select><br><br>
<button type="submit" value="submit">Submit</button>
</form>
</div>
<div class="table">
<table border="1" cellpadding = "5" cellspacing = "5">
<tr>
<td><b>Day of the week</b></td>
<td><b>Male</b></td>
<td><b>Female</b></td>
</tr>
<tr>
<td>Sunday</td>
<td>Kwasi</td>
<td>Akosua</td>
</tr>
<tr>
<td>Monday</td>
<td>Kwadwo</td>
<td>Adwoa</td>
</tr>
<tr>
<td>Tuesday</td>
<td>Kwabena</td>
<td>Abenaa</td>
</tr>
<tr>
<td>Wednesday</td>
<td>Kwaku</td>
<td>Akua</td>
</tr>
<tr>
<td>Thursday</td>
<td>Yaw</td>
<td>Yaa</td>
</tr>
<tr>
<td>Friday</td>
<td>Kofi</td>
<td>Afua</td>
</tr>
<tr>
<td>Saturday</td>
<td>Kwame</td>
<td>Ama</td>
</tr>
</table>
</div>
</div>
<script src="js/scripts.js"></script>
</body>
</html>