-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (50 loc) · 2.36 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>THE AKAN NAMING SYSTEM</title>
<link rel="stylesheet" href="css/styles.css" media="all">
<link rel="stylesheet" href="css/bootstrap.css">
<link href="https://fonts.googleapis.com/css?family=Quicksand&display=swap" rel="stylesheet">
</head>
<body>
<div class="content">
<div class="container">
<h1>THE AKAN NAMING SYSTEM</h1>
<p>Hello there! This is a web application that takes your birthday details and calculates the day of the week you were born and then depending on your gender, outputs your Akan Name. <a class="research" href="https://en.wikipedia.org/wiki/Akan_names" target="_blank">Akan names</a> are derived from Ghanian culture. Frequently in Ghana, children are given their first name as a 'day name' which corresponds to the day in the week they were born. </p>
<p>To find out what your Akan name is, proceed to filling the form below and clicking the generate name button.
<form class="myform" onsubmit="return getAkanName()">
<label for="year-of-birth">
Year:
<input id="year-input" type="number" name="year-of-birth" placeholder="YYYY" value="" required>
</label>
<label for="month-of-birth">
Month:
<input id="month-input" type="number" name="month-of-birth" placeholder="MM" value="" required>
</label>
<label for="day-of-birth">
Day:
<input id="day-input" type="number" name="day-of-birth" placeholder="DD" value="" required>
</label>
<br>
<label for="gender">
<p>Select your gender: </p>
Male
<input id="male-input" type="radio" name="gender" value="male" required>
Female
<input id="female-input" type="radio" name="gender" value="female" required>
</label>
<br><br>
<input id="get-name" type="submit" name="" value="Generate name">
<br><br>
</form>
<form onsubmit="return clearInput()">
<input class="clear" type="submit" value="Clear input">
</form>
<h4 id = display-name><strong>Your Akan name will be displayed below:</strong></h4>
<p id="result"></p>
</div>
</div>
<script src="js/scripts.js" ></script>
</body>
</html>