Skip to content

Andres Ballares#176

Open
AndresBallares wants to merge 15 commits into
joinpursuit:masterfrom
AndresBallares:master
Open

Andres Ballares#176
AndresBallares wants to merge 15 commits into
joinpursuit:masterfrom
AndresBallares:master

Conversation

@AndresBallares

Copy link
Copy Markdown

No description provided.

Comment thread problems/variables.js Outdated
// * For example, if you were born in 1988, then in 2026 you'll be either 37 or 38, depending on what month it is in 2026.
// * Log them to the screen like so: "I will be either `ageMin` or `ageMax` in `futureYear`", substituting the values.

let birthYear = '1977'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

birthYear should be const

Comment thread problems/variables.js Outdated
// * Log them to the screen like so: "I will be either `ageMin` or `ageMax` in `futureYear`", substituting the values.

let birthYear = '1977'
let futureYear = '2021'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Values should be numbers not strings

Comment thread problems/variables.js Outdated

let birthYear = '1977'
let futureYear = '2021'
let minimumAge = '44'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be derived from the previous variables.

Comment thread problems/variables.js Outdated
// * Log the result to the screen like this: "You will need `snackNumber` to last you until the age of `maxAge`".

// ## Problem Three
let curAge = "30"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numbers should be numbers not strings

Comment thread problems/variables.js Outdated


let radius = "2"
let circumferenceOfCircle = Math.PI * radius

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good use of my library

Comment thread problems/variables.js

let radius = "2"
let circumferenceOfCircle = Math.PI * radius
let areaOfCircle = Math.PI * (radius * 2)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pi * r ^ 2. so radius**2

Comment thread problems/variables.js Outdated
// * Now store a fahrenheit temperature into a variable.
// * Convert it to celsius and output "`tempInFahrenheit`°F is `tempInCelsius`°C."

let celsius = "23C°"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should be numbers representing degrees

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants