galacticAge

所属分类:内容生成
开发工具:JavaScript
文件大小:1155KB
下载次数:0
上传日期:2023-01-01 21:11:04
上 传 者sh-1993
说明:  银河时代,,
(galacticAge,,)

文件列表:
.babelrc (116, 2020-08-30)
.eslintrc (354, 2020-08-30)
__tests__ (0, 2020-08-30)
__tests__\project.tests.js (1138, 2020-08-30)
assets (0, 2020-08-30)
assets\images (0, 2020-08-30)
assets\images\stock-puppy-photo.jpg (1092145, 2020-08-30)
launch.json (379, 2020-08-30)
package-lock.json (355023, 2020-08-30)
package.json (1089, 2020-08-30)
src (0, 2020-08-30)
src\age.js (612, 2020-08-30)
src\index.html (458, 2020-08-30)
src\main.js (246, 2020-08-30)
src\styles.css (33, 2020-08-30)
webpack.config.js (1248, 2020-08-30)


**

Galactic Age** *

How old would you be on, say... Jupiter?*

Requirements Setup Technologies Contributors Bugs

As the fifth code review test for the Epicodus coding school I am to create a program which determines the age of a person living on a different planet. A solar year lasts 365 days on planet Earth. However, the length of a solar year varies from planet to planet. (ex. A solar year on Mercury lasts 88 days). In addition, I am to determine the life expectancy of someone living on another planet in that planet's years.

### SPECIFICATIONS: | Spec | Input | Output | Test | |:----------|:-------------|:------| :------| | The program will take in a user's age and life expectancy and planet | "43" "81" "earth" | None | Passed | | The program will calculate user's Earth age in Earth days divided by Orbital Period (Days) | "43 x 365/365" | "43" | Passed | | The program will calculate user's age in Mercury years | "43" | "178" | Passed | | The program will calculate user's age in Venus years | "43" | "70" | Passed | | The program will calculate user's age in Mars years | "43" | "22" | Passed | | The program will calculate user's age in Jupiter years | "43" | "3" | Passed | | The program will calculate user's life expectancy on each planet | "Earth, 43; Earth, 86" | Passed | # **REQUIREMENTS** _[Node.js](https://nodejs.org/en/)_ # **TECHNOLOGIES USED** _[Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript)_ _[CSS](https://en.wikipedia.org/wiki/Cascading_Style_Sheets)_ _[Bootstrap](https://getbootstrap.com/)_ _[HTML](https://developer.mozilla.org/en-US/docs/Web/HTML)_ _[Node.js](https://nodejs.org/en/)_ _[Webpack](https://webpack.js.org/)_ _[Jquery](https://jquery.com/)_
# **KNOWN BUGS** **No known bugs as of: 7/26/2020**
# **SETUP** ## **INSTALLING WITH NODE** with the root project folder open in your code editor, execute the following in your terminal: ``cd ProjectName`` ``npm install`` ``npm run build``
# **Contributors**

![alt text][logo] [logo]: https://img.shields.io/bower/l/bootstrap 'MIT License'

近期下载者

相关文件


收藏者