Coder Social home page Coder Social logo

code-review-week-5's Introduction

Solar Age Calculator

By Jay Winebrenner

Description

A web application that will calculate how old one is on various planets in our solar system.

Setup/Installation Requirements

Zip:

enter image description here

  1. Click the link shown in the above photo and download the file.
  2. Navigate to the directory (folder) that contains your browser's downloads. Generally the downloads folder or the desktop.
  3. Double-click on the downloaded project folder to unzip the file.
  4. Open the folder and run the index.html file.

Specifications:

Expectation Input Output
Should Return age in Mercury Years(.24 years = 1 EY) 40 Human Years 166.7 Mercury Years
Should Return age in Venus Years(.62 years = 1 EY) 40 Human Years 64.5 Venus Years old
Should Return age in Mars Years(1.88 years = 1 EY) 40 Human Years 21.3 Mars Years old
Should Return age in Jupiter Years(11.86 years = 1 EY) 40 Human Years 3.4 Jupiter Years old
Should Return age in Saturn Years (29 years = 1 EY) 40 Human Years 1.4 Saturn Years old
Should Return age in Uranus Years (84 Years = 1 EY) 40 Human Years .5 Uranus Years old
Should Return age in Neptune (165 Years = 1 EY) 40 Human Years .2 Neptune years old
--- --- ---
Should determine how many Mercury Years one has to live--(Life expectancy-Earth Years/.24-- Expectancy = 74 Earth Age = 20 225 Mercury years left to live
Should determine how many Venus Years one has to live--(Life expectancy-Earth Years/.62-- Expectancy = 74 Earth Age = 20 87.1 Venus years left to live
Should determine how many Mars Years one has to live--(Life expectancy-Earth Years/1.88-- Expectancy = 74 Earth Age = 20 28.7 Venus years left to live
Should determine how many Jupiter Years one has to live--(Life expectancy-Earth Years/11.86-- Expectancy = 74 Earth Age = 20 4.6 Jupiter years left to live
Should determine how many Saturn Years one has to live--(Life expectancy-Earth Years/29-- Expectancy = 74 Earth Age = 20 1.86 Saturn years left to live
Should determine how many Uranus Years one has to live--(Life expectancy-Earth Years/84-- Expectancy = 74 Earth Age = 20 .64 Uranus years left to live
Should determine how many Neptune Years one has to live--(Life expectancy-Earth Years/165-- Expectancy = 74 Earth Age = 20 .33 Neptune years left to live
--- --- ---
Should determine how many Mercury years one has lived past life expectancy Life Expectancy: 74 Earth Age: 80 25 Mercury Years past life Expectancy
Should determine how many Venus years one has lived past life expectancy Life Expectancy: 74 Earth Age: 80 9.7 Venus Years past life Expectancy
Should determine how many Mars years one has lived past life expectancy Life Expectancy: 74 Earth Age: 80 3.2 Mars Years past life Expectancy
Should determine how many Jupiter years one has lived past life expectancy Life Expectancy: 74 Earth Age: 80 .5 Jupiter Years past life Expectancy
Should determine how many Saturn years one has lived past life expectancy Life Expectancy: 74 Earth Age: 80 .2 SaturnYears past life Expectancy
Should determine how many Uranus years one has lived past life expectancy Life Expectancy: 74 Earth Age: 80 .07 Uranus Years past life Expectancy
Should determine how many Neptune years one has lived past life expectancy Life Expectancy: 74 Earth Age: 80 .04 Neptune Years past life Expectancy
--- --- ---

Technologies Used

  • HTML5
  • CSS3
  • JavaScript
  • JQuery
  • Bootstrap

Support and Contact

If you have any questions about anything at all, please don't hesitate to get in touch. [email protected]

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copyright (c) 2019 Jay Winebrenner

code-review-week-5's People

Contributors

jaywinebrenner 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.