/Galactic-Age-Calculator

a calculator used to find the users age on any planet in the solar system.

Primary LanguageJavaScript

Galactic Age Calculator

by Jimmy Zebroski

Description

A web application that gets the users age and tells them how old they would be on each planet.

Specifications

  • User can enter birthday and gets back their age in Mercury years
  • Input: Enter the year you were born: 1995

  • Input:Enter the month you were born: 04

  • Input: Enter the day of the month you were born:01

  • Input: Enter the age you think you will die: 80

  • Output: You are 23 years old

  • Output: You are 5 years old on Mercury

  • Output: You Have 14 years to live on Mercury

  • Output: You are 14 years old on Venus

  • Output: You have 35 years to live on Venus

  • Output: You are 43 years old on Mars

  • Output: You have 107 years to live on Mars

  • Output: You are 272 years old on Jupiter

  • Output: You still have 676 years to live on Jupiter

Setup Instructions

  • Install Node.js
  • Download or clone repository
  • Navigate to the main directory of the project
  • In the command line enter "npm install"
  • Also in the commandline run "npm run start"
  • Enter info for yourself to see results

Known Bugs

  • No known bugs

Languages/Libraries Used

  • HTML
  • javascript
  • Node.js
  • Webpack
  • jasmine
  • karma

GitHub Pages link

https://github.com/Zebrozkii/Galactic-Age-Calculator

Copyright (c) 2019 Jimmy Zebroski.