Skip to content

This is a web application that takes a user's birthday and calculates the day of the week they were born and then depending on their gender outputs their Akan Name. 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.

Notifications You must be signed in to change notification settings

AMANIKAI/WEEK2-IP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMANI'S AKAN AGE CALCULATOR

This project is about how to calculate a persons age,

Version Date: 7th. Oct 2022

Author

The author is Amani Kai

Setup instructions

-Git clone https://github.com/AMANIKAI/WEEK2-IP.git -Open the code with VScode -Go live

Description

This is a web application that takes a user's birthday and calculates the day of the week they were born and then depending on their gender outputs their Akan Name.

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. Here are Ghanian day names.

Male

Sunday: Kwasi

Monday: Kwadwo

Tuesday: Kwabena

Wednesday: Kwaku

Thursday: Yaw

Friday: Kofi

Saturday: Kwame

Female

Sunday: Akosua

Monday: Adwoa

Tuesday: Abenaa

Wednesday: Akua

Thursday: Yaa

Friday: Afua

Saturday: Ama

Live link

The live link is at https://amanikai.github.io/WEEK2-IP/

Most people do know when their birthdays are, but some might not know what day of the week they were born. Luckily for us, there are ways to calculate the day of the week from a specific date. The following is one of the many methods that exist for that;

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 ( % )

BDD

As a user, you will be able like to;

-See a small description of what the application does on the landing page.

-Enter your birthday through a prompt

-Choose what gender you are.

Click the submit button to see what your Akan name would be

Technologies Used

JAVASCRIPT HTML BOOTSTRAPS CSS CODE FORMATTED VIA PRETTIER AND TYPESCRIPT/JAVASCRIPT JUMBOTRON

Support and contact details

If you need any assistance on any issues or have questions, ideas or concerns. Kindly contact me through email: amanikai@gmail.com to make a contribution to the code or for any assistance on the app/project.

License

The License used is GPL

Copyright (c) 2022 Amani Kai

About

This is a web application that takes a user's birthday and calculates the day of the week they were born and then depending on their gender outputs their Akan Name. 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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published