/AKAN-NAME-PROJECT

The application inputs user's birthday and gender in a form then uses the birthday to calculate the day of the week the user was born. Depending on the user's gender, it outputs the Akan Name.

Primary LanguageHTML

AKAN NAMES

The application calculates the day of the week the user was born then outputs their Akan Name depending on their gender., 18th July 2021

By ONYANGO ANIPHER CHELSEA AYOO

Description

The application gives a brief description about Akan Names and its origin.The application then collects information about the user's birthday and gender through a form. It uses the birthday information to calculate the day of the week the user was born and then depending on the user's gender information, the application outputs the Akan Name upon form submission.The application is designed in such a way that the user's information filled in the form must be valid.

Setup/Installation Requirements

  • Install Ubuntu OS.
  • Download Google Chrome for internet browsing.
  • Download Visual Studio for text editting and add Terminal and live server extensions.
  • Create a folder to store your files.Files are index.html,index.css,index.js, and readme.md. Link the javascript and css files to html.
  • BDD: The year input must not be less than 1910 and greater than 2021. The month input must not be less than 1 and greater than 12 and the day input must not be less than 1 and greater than 31. All the fields in the form must be answered before submission.The application then uses the formula; 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 ( % ) to calculate the day of the week the use was born.Depending on the gender input and the day of the week output, the application uses control flows in JavaScript to output the user's Akan Name upon form submission.

Known Bugs

There are no known bugs.

Technologies Used

HTML,CSS and JavaScript. JavaScript is the main programming language for the web.It makes pages interactive. Css is used for styling the pages to make them more attractive.

Support and contact details

If you have any questions,suggestions and comments, feel free to contact me via chelsea.ayoo@student.moringaschool.com. I will be glad to hear from you. Let us make coding more fruitful and fun.

License

*{Copyright (c) {2021} {ONYANGO ANIPHER CHELSEA AYOO} MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. }* Copyright (c) {2021} {ONYANGO ANIPHER CHELSEA AYOO}