Akan Naming System
This project is about a naming system used in Ghana where depending on their gender, people are given certain name according to the day of the week they were born. This project uses the formula below to get the day of the week; Day of the week (d) = (((CC/4) -2CC-1) + ((5YY/4)) + ((26*(MM+1)/10)) + DD ) mod 7
where; CC - is the century digits. For example 1989 has CC = 19
YY - is the Year digits (1989 has YY = 89)
MM - is the Month
DD - is the Day of the month
mod - is the modulus function ( % )
Name : Josepat Otieno. The author is a student at Moringa School taking Software Development course.
You need to have git installed on your machine. You can install it with the following command in the terminal
$ sudo apt install git-all
You can use the following steps to access this project on you machine:
- Open your terminal and use this command to clone
$ git clone https://github.com/josphat-otieno/akan-project.git
- This will clone the repository into your local machine.
- Open the terminal on your machine and navigate to the root folder of the application
$cd akan-project
- Open index.html on your browser.
- Here is the live link to the website
https://josphat-otieno.github.io/akan-project/
Displays a landing page that describes what the project is all about. Displays form for entering date of birth
The user enters:
- Year
- Month
- Day
Displays a pop screen prompting the user to enter their gender either male or female.
Displays a pop screen alerting the users their date of birth in the format of "mm/dd/yy".
Displays a pop screen alerting users the day of the week they were born and their respective akan names.
A pop screen appears alerting the user to enter valid values if wrong values are entered or a field is left empty
The following technologies were used in building up the project:
- HTML
- Bootstrap
- JavaScript
- CSS
- Git
Phone: +254717878813
Email address: [email protected]