This web application allows users to enter their age and it will convert into seconds. It will also determined how far is your birthday in seconds, and how old you are if you live in different planets!.
- User will enter current age and calculator will convert it to seconds.
- Example input: 08/12/1983
- Example output: 1078273450 and counting
- User can enter two dates and find the difference in seconds between the two
- Example input: Date 1: 10/08/2017 Date 2: 10/13/2017
- Example output: 432,000 seconds
- Return human age in Mercury Years
- Example input: 08/12/1983
- Example output: "Your Mercurian age is 141.8 years!"
- Return human age in Venus Years
- Example input: 08/12/1983
- Example output: "You are 55.5 in Venusian years!"
- Return human age in Mars Years
- Example input: 08/12/1983
- Example output: "You are 18.1 in Martian years!"
- Return human age in Jupiter Years
- Example input: 08/12/1983
- Example output: "You are 2.88 in Jovian years!"
- Allow users to find out how many years they have left on each planet. Calculate this using gender, ethinicity and other different measures.
- Example input: 08/12/1983, gender: Female, ethinicity: white
- Example output: Your life expectancy in Mercury is 195.8 years.
- If a user has already surpassed the average life expectancy, your application should account for (and test) this possible outcome as well.
- Example input: 08/12/1932, gender: Female, ethinicity: white
- Example output: Enjoy these bonus years.
-
Clone directory from github using git
-
NOTE: These instructions assume you already have Node installed.
-
clone this repo
-
In terminal, navigate into where you would like this project to live.
-
In your terminal enter:
$ git clone https://github.com/lucky500/galactic-age-calculator.git
-
In your terminal enter:
$ npm install
-
In your terminal enter:
$ bower install
-
In your terminal enter:
$ gulp build
-
In your terminal enter:
$ gulp serve
-
Gulp will serve the file to either port 3000 or next available port
There are no known bugs at this time.
Feel free to contact me at luciano101@msn.com
HTML, CSS, Bootstrap, ActiveRecord, Postgres
This software is licensed under the MIT license.
Copyright (c) 2017 Luciano Oliveira