Specs
Spec | Input | Output |
---|---|---|
Converts date of birth into years old | 01/01/1999 | 20 |
Returns their age in Mercury years (.24 Earth years) | 20 | 4.8 |
Returns their age in Venus years. (.62 Earth years) | 20 | 12.4 |
Returns their age in Mars years. (1.88 Earth years) | 20 | 37.6 |
Returns their age in Jupiter years. (11.86 Earth years) | 20 | 237.2 |
Returns life expectancy for users chosen planet based on user provided life expectancy | 86 | 20.64 (Mercury) |
Returns how many many years left based on age, life expectancy, and planet selected by user | 20, 86, Mercury | 15.84 |
_This web application can be found at https://github.com/ShaDuv/galactic-age-calc
This is a simple web application that takes user enter date of birth and converts it into years on this earth and provides the age the user would be on other planets. It also takes user provided life expectancy and converts it for each planet as well mas how many years left (or over) they are for their selected planet.
- Cloned repo
- Open in browser
- Information returned in inspect/console
- Close
Internet and web browser are the only things needed to run this page.
There are no known bugs at this time.
If there are any issues with the code please feel free to email shawnabduvall@gmail.com
HTML, CSS, Bootstrap, Javascript, Jquery, Webpack
MIT License
Copyright (c) 2019 Shawna Duvall