HarrisonStrand / planet-lifespan

This project was designed to display my comprehension of the material in week five of Epicodus executing conversions for years on different planets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Week Five/TDD

HTML, CSS, Javascript, Webpack, Jest comprehension 11/13/20

By Harrison Strand

Description

---This project was designed to display my comprehension of the material in week five of Epicodus executing conversions for years on different planets. This project uses HTML, CSS, Javascript, Webpack, NPM with TDD workflow.

Setup

!!Program Requires Node and webpack!!

View Online

Open Locally

  1. Navigate to https://github.com/HarrisonStrand/landing-page
  2. Click on the green 'Code' button and copy the repository HTTPS URL
  3. (a) Open your machine terminal and type in the command 'git clone https://github.com/HarrisonStrand/planet-lifespan.git' in the directory you would like to clone the repository. (b) Alternatively, click 'Download Zip' and open the file on your machine
  4. Navigate to your terminal and type: NMP INSTALL
  5. Open the index.html file on a live server to view the website, or use an IDE to view the code language.

Known Bugs

No known bugs.

Contact me at: harrisonstrand@gmailcom

Specs:

Describe: Input Output
Age( )
Construct an object containing age of user by years/days/hours/life expectancy. Age(years: 65, days: 23725, hours: 569400 lifeEx:100) new Age {65, 23725, 569400, 100}
MercuryConv( ) Method will convert age on Earth to age on Mercury. mercConv = 65 * .24
VenusConv( ) Method will convert age on Earth to age on Venus. VenusConv = 65 * .62
MarsConv( ) Method will convert age on Earth to age on Mars. MarsConv = 65 * 1.88
JupiterConv( ) Method will convert age on Earth to age on Jupiter. JupiterConv = 365 * 11.86
lifeEx ( ) Method will tell how many years until life expectancy on planets age(65)
liveOver ( ) Method will tell how many years after life expectancy on planets age(102)
smokingEx( ) Method will subtract 10 years from life expectancy age(100-10)
inputAge( )
Gather input of user's name to add to conversion methods. Age(65) 65
Gather input of user's habits to add to life expectancy methods. Smoke?(yes) 90

Technologies Used

Visual Studio Code Git/Github HTML Script CSS Styling Javascript Node Webpack

Legal

Copyright 2020 Harrison Strand

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

About

This project was designed to display my comprehension of the material in week five of Epicodus executing conversions for years on different planets.


Languages

Language:HTML 49.8%Language:JavaScript 34.5%Language:CSS 15.6%