Refactor: Implement suggestions from PR review

Implement suggestions from PR review
- See [PR comments](https://github.com/florinpop17/app-ideas/pull/5) for details

Resolves: N/a
See also: N/a
pull/5/head
jdmedlock 6 years ago
parent f509e76ef3
commit 4eca215236

@ -6,23 +6,29 @@ temperature.
## User Stories ## User Stories
- [ ] User can enter the actual temperature (Celcius) and the wind speed - [ ] User can select the measurement system calculations will be performed
(kilometers per hour) in - Metric or English.
- [ ] User can enter the actual temperature and the wind speed
- [ ] User can press the `Calculate` button to display the wind chill - [ ] User can press the `Calculate` button to display the wind chill
- [ ] User will receive and error message if data values are not entered - [ ] User will receive an error message when `Calculate` is clicked if data
or if the resulting wind chill factor is greater than or equal to the values are not entered.
actual temperature.
- [ ] User will be prompted to enter new data values if `Calculate` is
pressed without first changing at least one of the input fields.
## Bonus features ## Bonus features
- [ ] User can select the measurement system calculations will be performed - [ ] User will receive an error message when `Calculate` is clicked if the
in - metric or English. resulting wind chill factor is greater than or equal to the actual temperature.
Since this signifies an internal error in the calculation you may also
satisfy this requirement using an assertion.
- [ ] User will be prompted to enter new data values if `Calculate` is
pressed without first changing at least one of the input fields.
- [ ] User will see an updated wind chill factor whenever new actual
temperature or wind speed values are entered, without being required to
click the `Calculate` button.
## Useful links and resources ## Useful links and resources
[Wikipedia Wind Chill](https://en.wikipedia.org/wiki/Wind_chill) - [Wikipedia Wind Chill](https://en.wikipedia.org/wiki/Wind_chill)
- [Javascript Assert](https://developer.mozilla.org/en-US/docs/Web/API/console/assert)
## Example projects ## Example projects

@ -33,11 +33,8 @@ Each project has the following **features**:
| [Pomodoro Clock](./Projects/Pomodoro-Clock.md) | | [Pomodoro Clock](./Projects/Pomodoro-Clock.md) |
| [Slack Archiver](./Projects/Slack-Archiver.md) | | [Slack Archiver](./Projects/Slack-Archiver.md) |
| [String Art](./Projects/String-Art.md) | | [String Art](./Projects/String-Art.md) |
<<<<<<< HEAD
| [Timezone Slackbot](./Projects/Timezone-Slackbot.md) | | [Timezone Slackbot](./Projects/Timezone-Slackbot.md) |
=======
| [Windchill](./Projects/Windchill-App.md) | | [Windchill](./Projects/Windchill-App.md) |
>>>>>>> 8f5f3eb847f52c8d2d5f8ba30af03f718303c4ea
## Contribution ## Contribution

Loading…
Cancel
Save