From 1eb4078d2c04d738d44c9d34f7c8344847337505 Mon Sep 17 00:00:00 2001 From: Michael Chu Date: Tue, 26 Feb 2019 22:26:18 -0700 Subject: [PATCH] Improve the logic for the itemCount exercise --- step1-06/exercise/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/step1-06/exercise/README.md b/step1-06/exercise/README.md index 241ae98..3a86cd9 100644 --- a/step1-06/exercise/README.md +++ b/step1-06/exercise/README.md @@ -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