-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
110 lines (103 loc) · 4.93 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Akan Name Generator | Karen</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="js/script.js"></script>
</head>
<body>
<div class="container">
<div class="header">
<img src="images/flag.png" alt="Ghana flag">
<br>
<h3>Akan Name Generator</h3>
<div class="info">
<p>In many parts of Ghana, and elsewhere in West Africa, a person’s name is determined by the day of the week on which she/he was born.
<br> Enter your birthday and gender below to read your day name in Ashanti Twi, a dialect of Akan and the most widely spoken language in Ghana:
<br> You can also view your name or day of birth from the table below. <br>
</p>
</div>
</div>
<div class="main">
<div class="row">
<div class="col-md-3">
<br>
<table class="tg">
<tr>
<th class="tg-baqh">Day of the Week</th>
<th class="tg-0lax">Female Name</th>
<th class="tg-0lax">Male Name</th>
</tr>
<tr>
<td class="tg-0lax">SUNDAY</td>
<td class="tg-0lax">Akosua</td>
<td class="tg-0lax">Kwasi</td>
</tr>
<tr>
<td class="tg-0lax">MONDAY</td>
<td class="tg-0lax">Adwoa</td>
<td class="tg-0lax">Kudwo</td>
</tr>
<tr>
<td class="tg-0lax">TUESDAY</td>
<td class="tg-0lax">Abenaa</td>
<td class="tg-0lax">Kwabena</td>
</tr>
<tr>
<td class="tg-0lax">WEDNESDAY</td>
<td class="tg-0lax">Akua</td>
<td class="tg-0lax">Kwaku</td>
</tr>
<tr>
<td class="tg-0lax">THURSDAY</td>
<td class="tg-0lax">Yaa</td>
<td class="tg-0lax">Yaw</td>
</tr>
<tr>
<td class="tg-0lax">FRIDAY</td>
<td class="tg-0lax">Afua</td>
<td class="tg-0lax">Kofi</td>
</tr>
<tr>
<td class="tg-0lax">SATURDAY</td>
<td class="tg-0lax">Ama</td>
<td class="tg-0lax">Kwame</td>
</tr>
</table>
</div>
<div class="col-md-8">
<form id="form" name="form" onsubmit="findDay()">
<legend>Fill in to generate your Akan name:
<hr>
</legend>
<label for="year ">Year of birth</label>
<input type="number" id="year" name="year" min="1900" max="2020" required placeholder="Example: 1989">
<label for="month ">Month</label>
<input type="number" id="month" name="month" min="1" max="12" required placeholder="Example: December=12, May=5">
<label for="date ">Date</label>
<input type="number" id="date" name="date" min="1" max="31" required placeholder="Example: 21 ">
<p>Select your gender: <br></p>
<div class="radio">
<label>
<input type="radio" name="gender" value="Female" checked>
Female
</label>
</div>
<div class="radio">
<label>
<input type="radio" name="gender" value="Male">
Male
</label>
</div>
<input type="submit" value="Submit">
</form>
</div>
</div>
</div>
</div>
</body>
</html>