|
|
@ -15,23 +15,24 @@ the `eval()` function to generate the result of the conditional.
|
|
|
|
## User Stories
|
|
|
|
## User Stories
|
|
|
|
|
|
|
|
|
|
|
|
- [ ] User can enter two strings to be compared
|
|
|
|
- [ ] User can enter two strings to be compared
|
|
|
|
- [ ] User can enter a valid Javascript conditional operator to be used
|
|
|
|
- [ ] User can enter a valid Javascript conditional operator to be used to compare the two strings
|
|
|
|
to compare the two strings
|
|
|
|
|
|
|
|
- [ ] User can see the result of the conditional as TRUE or FALSE
|
|
|
|
- [ ] User can see the result of the conditional as TRUE or FALSE
|
|
|
|
- [ ] User can see a warning if the input strings or conditional operator
|
|
|
|
- [ ] User can see a warning if the input strings or conditional operator that has been entered is not valid
|
|
|
|
that has been entered is not valid.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Bonus features
|
|
|
|
## Bonus features
|
|
|
|
|
|
|
|
|
|
|
|
- [ ] User can specify the type of each of the two strings so numbers can
|
|
|
|
- [ ] User can specify the type of each of the two strings so numbers can be compared to strings, strings to booleans, etc
|
|
|
|
be compared to strings, strings to booleans, etc.
|
|
|
|
|
|
|
|
|
|
|
|
## Trello Board
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can track your progress by cloning this [Trello Board](https://trello.com/b/opv2KRXy/true-or-false)
|
|
|
|
|
|
|
|
|
|
|
|
## Useful links and resources
|
|
|
|
## Useful links and resources
|
|
|
|
|
|
|
|
|
|
|
|
- [Comparison Operators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators)
|
|
|
|
- [Comparison Operators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators)
|
|
|
|
- [Conditional Javascript for Experts](https://hackernoon.com/conditional-javascript-for-experts-d2aa456ef67c)
|
|
|
|
- [Conditional Javascript for Experts](https://hackernoon.com/conditional-javascript-for-experts-d2aa456ef67c)
|
|
|
|
- [Truthy and Falsy: When all is not equal in Javascript](https://www.sitepoint.com/javascript-truthy-falsy/)
|
|
|
|
- [Truthy and Falsy: When all is not equal in Javascript](https://www.sitepoint.com/javascript-truthy-falsy/)
|
|
|
|
|
|
|
|
|
|
|
|
## Example projects
|
|
|
|
## Example projects
|
|
|
|
|
|
|
|
|
|
|
|
N/a
|
|
|
|
N/A
|
|
|
|