Giter Club home page Giter Club logo

kwicz / galactic-age-calculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5.79 MB

Inspired by the Sci-Fi Trilogy Remembrance of Earth's Past by Cixin Liu, this site allows users to plan for inter-solar system travel with the fictitious space travel organization, The Halo Group.

Home Page: https://admiring-hodgkin-6c8b1d.netlify.com/

JavaScript 36.86% HTML 46.67% CSS 16.47%
javascript jquery test-driven-development jest webpack epicodus independent-project

galactic-age-calculator's Introduction

Galactic Age Calculator

Description

Calculate a user's age and life expectancy on each planet. Feb 2020.

By K. Wicz

Preview

Landing Page Preview

View Live Preview

Description

Inspired by the Sci-Fi Trilogy Remembrance of Earth's Past by Cixin Liu, this site allows users to plan for inter-solar system travel with the fictitious space travel organization, The Halo Group. This Halo Group website will allow their customers to enter their age and how many years they plan to be cryogenically frozen to see how many years old they would be and the difference in their age and their estimated life expectancy on different planets that are part of a travel package.

Project Specifications

Behavior Input Output
User inputs age -- error
"twenty" error
User inputs age under 80 20 60 (years until estimated life expectancy)
User inputs age over 80 90 10 (years past estimated life expectancy)
User inputs preferred cryogenically frozen years 20 est. life expectancy + 20
User over 80 inputs preferred cryogenically frozen years 20 error
User selects planet Mercury Earth age / .24
20 Estimated total years left / .24
90 Estimated years over / .24
User selects planet Venus Earth age / .62
20 Estimated total years left / .62
90 Estimated years over / .62
User selects planet Mars Earth age / 1.88
20 Estimated total years left / 1.88
90 Estimated years over / 1.88
User selects planet Jupiter Earth age / 11.86
20 Estimated total years left / 11.86
90 Estimated years over / 11.86

Setup/Installation Requirements

In Terminal:

  • Navigate to where you want this application to be saved, i.e.: cd desktop
  • Clone the file from GitHub with HTTPS git clone https://github.com/kwicz/galactic-age-calculator.git
  • Open file in your preferred text editor
  • On Mac: open -a {your text editor} galactic-age-calculator
  • On Windows: galactic-age-calculator

Download Manually:

  • Navigate to https://github.com/kwicz/galactic-age-calculator.
  • Click green "Clone or Download" button.
  • Click "Download ZIP".
  • Click downloaded file to unzip.
  • Open folder called "galactic-age-calculator".
  • Right click "index.html" and select your preferred browser or text editor.

Future Additions

  • Add planet images.
  • Add planet informational details.
  • Add functionality for Saturn and Uranus.

Known Bugs

No known bugs at this time.

Support and contact details

Have a bug or an issue with this application? Open a new issue here on GitHub.

Technologies Used

License

MIT

Copyright (c) 2020 K. Wicz

galactic-age-calculator's People

Contributors

kwicz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.