A web application that will calculate how old one is on various planets in our solar system.
- Click the link shown in the above photo and download the file.
- Navigate to the directory (folder) that contains your browser's downloads. Generally the downloads folder or the desktop.
- Double-click on the downloaded project folder to unzip the file.
- Open the folder and run the index.html file.
Expectation | Input | Output |
---|---|---|
Should Return age in Mercury Years(.24 years = 1 EY) | 40 Human Years | 166.7 Mercury Years |
Should Return age in Venus Years(.62 years = 1 EY) | 40 Human Years | 64.5 Venus Years old |
Should Return age in Mars Years(1.88 years = 1 EY) | 40 Human Years | 21.3 Mars Years old |
Should Return age in Jupiter Years(11.86 years = 1 EY) | 40 Human Years | 3.4 Jupiter Years old |
Should Return age in Saturn Years (29 years = 1 EY) | 40 Human Years | 1.4 Saturn Years old |
Should Return age in Uranus Years (84 Years = 1 EY) | 40 Human Years | .5 Uranus Years old |
Should Return age in Neptune (165 Years = 1 EY) | 40 Human Years | .2 Neptune years old |
--- | --- | --- |
Should determine how many Mercury Years one has to live--(Life expectancy-Earth Years/.24-- | Expectancy = 74 Earth Age = 20 | 225 Mercury years left to live |
Should determine how many Venus Years one has to live--(Life expectancy-Earth Years/.62-- | Expectancy = 74 Earth Age = 20 | 87.1 Venus years left to live |
Should determine how many Mars Years one has to live--(Life expectancy-Earth Years/1.88-- | Expectancy = 74 Earth Age = 20 | 28.7 Venus years left to live |
Should determine how many Jupiter Years one has to live--(Life expectancy-Earth Years/11.86-- | Expectancy = 74 Earth Age = 20 | 4.6 Jupiter years left to live |
Should determine how many Saturn Years one has to live--(Life expectancy-Earth Years/29-- | Expectancy = 74 Earth Age = 20 | 1.86 Saturn years left to live |
Should determine how many Uranus Years one has to live--(Life expectancy-Earth Years/84-- | Expectancy = 74 Earth Age = 20 | .64 Uranus years left to live |
Should determine how many Neptune Years one has to live--(Life expectancy-Earth Years/165-- | Expectancy = 74 Earth Age = 20 | .33 Neptune years left to live |
--- | --- | --- |
Should determine how many Mercury years one has lived past life expectancy | Life Expectancy: 74 Earth Age: 80 | 25 Mercury Years past life Expectancy |
Should determine how many Venus years one has lived past life expectancy | Life Expectancy: 74 Earth Age: 80 | 9.7 Venus Years past life Expectancy |
Should determine how many Mars years one has lived past life expectancy | Life Expectancy: 74 Earth Age: 80 | 3.2 Mars Years past life Expectancy |
Should determine how many Jupiter years one has lived past life expectancy | Life Expectancy: 74 Earth Age: 80 | .5 Jupiter Years past life Expectancy |
Should determine how many Saturn years one has lived past life expectancy | Life Expectancy: 74 Earth Age: 80 | .2 SaturnYears past life Expectancy |
Should determine how many Uranus years one has lived past life expectancy | Life Expectancy: 74 Earth Age: 80 | .07 Uranus Years past life Expectancy |
Should determine how many Neptune years one has lived past life expectancy | Life Expectancy: 74 Earth Age: 80 | .04 Neptune Years past life Expectancy |
--- | --- | --- |
- HTML5
- CSS3
- JavaScript
- JQuery
- Bootstrap
If you have any questions about anything at all, please don't hesitate to get in touch. [email protected]
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 NON-INFRINGEMENT. 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) 2019 Jay Winebrenner