/JS-Galactic-Age-Calculator

A web application that allows the user to input their information and see their age and life expectancy in years on other planets.

Primary LanguageJavaScript

Galactic Age Calculator

A web application that shows the user their age and life expectancy on other planets, 1/11/2019

By Alex Williams

Description

The web application has the user input their name, birthday, and various questions to calculate their age and life expectancy on seven different planets with varying orbital periods. The user can then click through the links and scroll to the appropriate page that shows the information.

Specs

  1. User enters their birthday, and the program outputs their age using the solar body's solar year in days.
  2. User may then click the links on the page to view all the information regarding each planet.
  3. User may also input their information(Where they live, do they eat healthy, and do they exercise) to calculate the user's life expectancy on the chosen solar body.
  4. The user may also answer if they are a dog to get their output in dog years.
  5. If the user has already surpassed the average life expectancy, the program then returns the number of years they have lived past the life expectancy.

Setup/Installation Requirements

  • Clone from Github
  • Navigate to root project directory in the terminal.
  • Input npm install into the terminal to install dependancies.
  • Input npm run build to build the application.
  • Input npm run start to start the application.

Node.js is required for the npm commands to run. Must have Node.js installed. No servers are required for the running of this application.

Known Bugs

No known bugs.

Support and contact details

Contact me at Zizzs17@gmail.com if you have any suggestions or information regarding the web application.

Technologies Used

HTML, CSS, Bootstrap, Javascript, JQuery, Javascript WebPack, Node Package Manager

License

MIT License

Copyright (c) 2019 Alex Williams