mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Improve the logic for the itemCount exercise
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
### TodoFooter
|
||||
|
||||
1. Use the provided `itemCount` value drive the number of items left.
|
||||
2. Use a ternary operator to print `item` vs `items` based on if `itemCount > 1`
|
||||
2. Use a ternary operator to print `item` vs `items` based on if `itemCount == 1`
|
||||
|
||||
### TodoListItem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user