-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (74 loc) · 3.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
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>Akan Names</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link href="css/stylesheet.css" rel="stylysheet" type="text/css">
</head>
<body>
<div class="container-fluid" style="background-image:url(images/orange_water_splashes_1424_1920x1080.jpg) ;" >
<div class="row">
<div class="col-md-6 text-left">
<h1>Akan Names</h1>
<p>Akan names 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.The intention of this web application is to take a user's birthday and calculate the day of the week they were born and then depending on their gender outputs their Akan Name.</p>
<p>Below is how the names are given:</p>
<div class="row">
<div class="col-md-6 text-left">
<h4>For males;</h4>
<ol>
<li>Sunday-Kwasi</li>
<li>Monday-Kwadwo</li>
<li>Tuesday-Kwabena</li>
<li>Wednesday-Kwaku</li>
<li>Thursday-Yaw</li>
<li>Friday-Kofi</li>
<li>Saturday-Kwame</li>
</ol>
</div>
<div class="col-md-6 text-left">
<h4>For females;</h4>
<ol>
<li>Sunday-Akosua</li>
<li>Monday-Adwoa-</li>
<li>Tuesday-Abenoa</li>
<li>Wednesday-Akua</li>
<li>Thursday-Yaa</li>
<li>Friday-Afua</li>
<li>Saturday-Ama</li>
</ol>
</div>
</div>
</div>
<div class="col-md-6">
<h3>Get your name</h1>
<p>Enter your date of birth</p>
<form name="myForm" class="form" onsubmit="validate();">
<div class="form-group">
<input type="number" class="form-control" id="year" placeholder="Year"year">
</div>
<div class="form-group">
<input type="number" class="form-control" id="month" placeholder="Month" name="month">
<input type="number" class="form-control" id="date" placeholder="Date" name="date">
<div class="form-check-inline">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="gender" id="male"> Male
</label>
</div>
<div class="form-check-inline">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="gender" id="female"> Female
</label>
</div>
</div>
<button type="submit" class="btn btn-primary" onclick="findName();">Get Name</button>
<br>
</form>
<div class="form-group">
<script type = "text/javascript" src="scripts.js"></script>
</div>
</div>
</div>
</div>
</body>
</html>