|
| 1 | +# Akan Birthday Names |
| 2 | + |
| 3 | + |
| 4 | +#### Created on 11th Feb 2022 |
| 5 | +#### By Dominic Yeboah |
| 6 | + |
| 7 | +## Description |
| 8 | + |
| 9 | +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. |
| 10 | + |
| 11 | +The Formula Used `(DD+(((MM+1)26)/10)+YY+(YY/4)+6*(YY/100)+(YY/400)-1)mod7;` |
| 12 | + |
| 13 | +`DD` - Day `MM` - Month `YY` - Year |
| 14 | + |
| 15 | + |
| 16 | +The Application |
| 17 | + |
| 18 | + |
| 19 | +--- |
| 20 | + |
| 21 | +## Access the website |
| 22 | +Need the latest browser to be able to View |
| 23 | + |
| 24 | +Follow this link https://yeboahd24.github.io/Akan-names/ |
| 25 | + |
| 26 | +It is hosted by github. |
| 27 | + |
| 28 | +--- |
| 29 | + |
| 30 | +### Setup |
| 31 | +To access this project on your local files, you can clone it using these steps |
| 32 | +1. Open your terminal |
| 33 | +1. Use this command to clone `$ git clone https://github.com/yeboahd24/Akan-names.git` |
| 34 | +1. This will clone the repositoty into your local folder |
| 35 | +1. Run `index.html` with active internet |
| 36 | +1. __Enjoy :)__ |
| 37 | + |
| 38 | +--- |
| 39 | + |
| 40 | +## Behaviour Driven Development |
| 41 | + |
| 42 | +1. Displays Form For Entering Date and Gender |
| 43 | + - INPUT: User Enters Birth-Day via 3 inputs Day, Month, Year |
| 44 | + - INPUT: User chooses either Male or Female |
| 45 | + - OUTPUT: Akan Name is Diplayed According What the User as Entered and Choosed |
| 46 | + |
| 47 | +2. Displays an Error Message if Date Input Left Blank |
| 48 | + - INPUT: "" |
| 49 | + - OUTPUT: Invalid Day, Enter Between 1 and 31 |
| 50 | + |
| 51 | +3. Displays an Error Message if Month Input is Left Blank |
| 52 | + - INPUT: "" |
| 53 | + - OUTPUT: Invalid Month, Enter Between 1 and 12 |
| 54 | + |
| 55 | +4. Displays an Error Message if Year Input is Left Blank |
| 56 | + - INPUT: "" |
| 57 | + - OUTPUT: Invalid Year, Enter Between 1950 and 2030 |
| 58 | + |
| 59 | +4. Displays an Error Message if One or All Inputs is Left Blank |
| 60 | + - INPUT: "" |
| 61 | + - OUTPUT: Empty Entry, Please Fill the Form |
| 62 | + |
| 63 | +5. Displays an Error Message if Gender Not Chosen |
| 64 | + - INPUT: "" |
| 65 | + - OUTPUT: Try Again. Select a gender |
| 66 | + |
| 67 | +6. Clears Form and Reset the Message on Click |
| 68 | + - INPUT: Click Reset Button |
| 69 | + - OUTPUT: Clears the Form Data |
| 70 | + |
| 71 | +--- |
| 72 | + |
| 73 | +## Technologies Used |
| 74 | +HTML |
| 75 | + |
| 76 | +CSS |
| 77 | + |
| 78 | +JAVASCRIPT |
| 79 | + |
| 80 | +BOOTSTRAP |
| 81 | + |
| 82 | +Git |
| 83 | + |
| 84 | +--- |
| 85 | + |
| 86 | +## Contact Details |
| 87 | + |
| 88 | + |
0 commit comments