It's a Web Application that uses the Ghanian Culture to Output the User's Birthday ghanian Name which is known as AKAN NAME
. It works when the user inputs their Birth-Day and it Calculates the day of the Week they were born and depending on the gender of the User the respective name is Outputted to the Screen.
The Formula Used (DD+(((MM+1)26)/10)+YY+(YY/4)+6*(YY/100)+(YY/400)-1)mod7;
DD
- Day MM
- Month YY
- Year
Need the latest browser to be able to View
Follow this link https://layersony.github.io/birthday-akan-name/
It is hosted by github.
To access this project on your local files, you can clone it using these steps
- Open your terminal
- Use this command to clone
$ git clone https://github.com/layersony/birthday-akan-name.git
- This will clone the repositoty into your local folder
- Run
index.html
with active internet - Enjoy :)
-
Displays Form For Entering Date and Gender
- INPUT: User Enters Birth-Day via 3 inputs Day, Month, Year
- INPUT: User chooses either Male or Female
- OUTPUT: Akan Name is Diplayed According What the User as Entered and Choosed
-
Displays an Error Message if Date Input Left Blank
- INPUT: ""
- OUTPUT: Invalid Day, Enter Between 1 and 31
-
Displays an Error Message if Month Input is Left Blank
- INPUT: ""
- OUTPUT: Invalid Month, Enter Between 1 and 12
-
Displays an Error Message if Year Input is Left Blank
- INPUT: ""
- OUTPUT: Invalid Year, Enter Between 1950 and 2030
-
Displays an Error Message if One or All Inputs is Left Blank
- INPUT: ""
- OUTPUT: Empty Entry, Please Fill the Form
-
Displays an Error Message if Gender Not Chosen
- INPUT: ""
- OUTPUT: Try Again. Select a gender
-
Clears Form and Reset the Message on Click
- INPUT: Click Reset Button
- OUTPUT: Clears the Form Data
HTML
CSS
JAVASCRIPT
BOOTSTRAP
Git
@Maingi Slack Moringa
Can View My Portfolio --> Click_ME
This Project is under the MIT license