Git Product home page Git Product logo

age-calculator.js's Introduction

Super Galactic Age Calculator

Age Calculator App, 5/25/18

By Andrew Lupton

Description

An intergalactic age and date calculator using Javascript.

Specs

The program should:

  • Take a person’s age in years and convert it into seconds.
  • Take two dates and determine the difference, in seconds, between the two. (This way a user can enter a birthdate and the application can compare the birthdate against the current time to come up with an accurate age.)
  • Return the age of a human in Mercury years. (A Mercury year is .24 Earth years.)
  • Return the age of a human in Venus years. (A Venus year is .62 Earth years.)
  • Return the age of a human in Mars years. (A Mars year is 1.88 Earth years.)
  • Return the age of a human in Jupiter years. (A Jupiter year is 11.86 Earth years.)
  • Determine how many years a user has left to live on each planet by calculating the user’s life expectancy.
  • If a user has already surpassed the average life expectancy, return the number of years they have lived past the life expectancy.

Known Bugs

None, currently.

Support and contact details

Send questions to Andrew at mailto:[email protected]

Technologies Used

*Javascript *Node *Karma *Jasmine *Babel *jQuery-3.3.1 *HTML5 *CSS3 *Bootstrap-4.1.1

License

  • Published under the MIT License.

Copyright (c) 2018 Andrew Lupton

age-calculator.js's People

Contributors

aflupton avatar

Watchers

James Cloos 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.