DNyakonyu / Akan-Names

Generate Akan-Name from Date of Birth-[WeekII IP]

Home Page:https://github.com/DNyakonyu/Akan-Names

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Akan Names

Author

DNyakonyu

Description

This project is a web application that takes a user's birthday and calculates the day of the week they were born and based on their gender displays their Akan-Name.

Screenshot

IP URL

https://dnyakonyu.github.io/Akan-Names

Technologies used

HTML
CSS
JS
Bootstrap &
markdown

Set up Instructions

  • Clone this repository to a location in your file system. git clone https://github.com/DNyakonyu/Akan-Names
  • Open terminal command line then navigate to the root folder of the application. cd Akan-Names
  • Open index.html on your Browser.

BDD

  1. Enter year of Birth eg 14 for 2014 Input Example 14 Output Example 14

  2. Enter month of birth eg 4 for April Input example 4 Output example 4

  3. Enter Date of the month you were born in eg 27 input example 27 output example 27

  4. Select gender Input example male gender output male gender

  5. Select gender Input example female gender output female gender

  6. If the above is submitted. Input example, the program compares the inputs with the conditions set for the inputs eg if No input field is empty, the program executes else an alert to enter required infomation.

  7. Displays Form For Entering Date and Gender

    • INPUT: "User's Birthdate Entered"
    • INPUT: "User's Gender Entered"
    • OUTPUT: "Displays User's Akan Name According to Submitted Date and Gender"
  8. Displays an Error Message if Date Input Left Blank

    • INPUT: ""
    • OUTPUT: "Displays Error Message"
  9. Displays an Error Message if Gender Not Chosen

    • INPUT: ""
    • OUTPUT: "Display an Error Message"
  10. Clears Form and Reset the Message on Click

  • INPUT: "Click Reset Button"
  • OUTPUT: "Clears and Resets the Form"

Example

century input - 20 year input - 20 month input - 5 date input - 27 gender - female selected, Expected output is You were born on Wednesday and Your akan name is Akua!

Known error/bug

Sometimes if wrong entry is done, the system outputs results, then prompts for the correct information entry. Work ongoing to remove error.

License

MIT License Copyright © 2020: Duncan Nyakonyu

About

Generate Akan-Name from Date of Birth-[WeekII IP]

https://github.com/DNyakonyu/Akan-Names

License:MIT License


Languages

Language:JavaScript 43.9%Language:HTML 35.0%Language:CSS 21.1%