kpundt93 / super-galactic-age-calculator

Epicodus week 5 independent project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Super Galactic Age Calculator

By: Katie Pundt

An application to determine how many years a user has left to live on various planets, based off of current age and life expectancy.

Technologies Used

  • HTML
  • CSS
  • Bootstrap
  • JavaScript
  • jQuery
  • npm
  • webpack
  • eslint
  • jest
  • popperjs/core
  • git
  • GitHub

Description

The application will allow users to input their current age and the average life expectancy for their demographic. The application will take that input and calculate how many years the user has left to live on Mercury, Venus, Mars, and Jupiter.

Setup/Installation Requirements

  • Navigate to https://github.com/kpundt93/super-galactic-age-calculator
  • Click on the green "Code" button and copy the repository URL or click on the copy button
  • Open the terminal on your desktop
  • Once in the terminal, use it to navigate to your desktop folder
  • Once inside your desktop folder, use the command git clone https://github.com/kpundt93/super-galactic-age-calculator.git
  • After cloning the project, navigate into it using the command cd super-galactic-age-calculator
  • Use the command git remote to confirm the creation of the new local repository
  • Install project dependencies by running the command npm install
  • If you receive errors in the terminal, try running npm install again, sometimes npm can be finicky
  • After installing npm, run the command npm run build
  • Then run the command npm run start to start the project server and view the application (use cmd + c to exit the server in the terminal)
  • Open the project with the code editor of your choice
  • If you would like to test the code, return to the project in the terminal and run the command npm test
  • If you have the Jest extension installed for VS Code, you can also test the code there.

Troubleshooting

  • If you are receiving errors regrading webpack, try running the command npm install webpack@4.39.3 --save-dev --save-exact, then run npm run build again
  • If you continue to have issues setting up the environment, try deleting the package-lock.json file and the node_modules folder from the project. Then rebuild the environment by running npm install again.

Known Bugs

  • No known bugs

Contact Information

Katie Pundt, kzpundt@gmail.com

License

MIT License: https://opensource.org/licenses/MIT

Copyright (c) 2021 Katie Pundt

About

Epicodus week 5 independent project


Languages

Language:JavaScript 70.6%Language:HTML 21.0%Language:CSS 8.3%