- A application that determines a user's age based on a planet's solar years.
- _Internet browser
- Git Bash
-
On Github locate my repository link by clicking the green button that says "Code", this will open a drop down menu to allow for you to copy my https://
-
Open Git Bash.
-
Change the current working directory to the location where you want the cloned directory.
-
Type git clone, and then paste the URL you copied earlier. here is a example ~ '''$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY'''
-
Press Enter to create your local clone.
-
Navigate to the directory you were in when you cloned the repository.
-
open the new file you cloned.
-
Open index.html.
Behavior | Input | Output |
---|---|---|
it will take a users name and age and create object | Ryland, 21 | this.name = Ryland this.age = 21 |
it will returns their age in Mercury years | 21 % .24 | 87.5 |
it will returns their age in Venus years | 21 % .62 | 33.9 |
it will returns their age in Mars years | 21 % 1.88 | 11.2 |
it will returns their age in Jupiter years | 21 % 11.86 | 1.8 |
it will returns their life expectancy on Mercury | 327.3 - 87.5 | 239.6 |
it will returns their life expectancy on Venus | 126.7 - 33.9 | 92.7 |
it will returns their life expectancy on Mars | 41.8 - 11.2 | 30.6 |
it will returns their life expectancy on Jupiter | 6.6 - 1.8 | 4.8 |
If a user has already surpassed the average life expectancy | 100 earth years | 100 - this.age |
- none known
- Visual Studio Code
- HTML
- Markdowne
- Bootstrap
- Css
- jQuery
- Javascript
- This software is licensed under the [MIT] license
- Copyright (C) 2020 Ryland S Adams