From c5d4a0d4ba0f907120c1e72128bedde5355c59d8 Mon Sep 17 00:00:00 2001 From: soladele Date: Sat, 23 Aug 2025 18:09:32 -0500 Subject: [PATCH 1/4] Update getGreeting.js --- backend/src/routes/getGreeting.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/backend/src/routes/getGreeting.js b/backend/src/routes/getGreeting.js index a9b997e..d8d4c38 100644 --- a/backend/src/routes/getGreeting.js +++ b/backend/src/routes/getGreeting.js @@ -1,7 +1,10 @@ -const GREETING = 'Hello world!'; - +const GREETING = 'Hello world!'[ + "Welcome" + "All hands on deck!" + "Charting the course ahead!", + ]; module.exports = async (req, res) => { res.send({ - greeting: GREETING, + greeting: GREETING[Math.floor(Math.random() * GREETINGS.length)] }); }; From e4cbc6611d439afa3b92bc5b95a5073429726395 Mon Sep 17 00:00:00 2001 From: soladele Date: Sat, 23 Aug 2025 18:16:01 -0500 Subject: [PATCH 2/4] Update AddNewItemForm.jsx --- client/src/components/AddNewItemForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/AddNewItemForm.jsx b/client/src/components/AddNewItemForm.jsx index b057ce1..9e5ef23 100644 --- a/client/src/components/AddNewItemForm.jsx +++ b/client/src/components/AddNewItemForm.jsx @@ -34,7 +34,7 @@ export function AddItemForm({ onNewItem }) { value={newItem} onChange={(e) => setNewItem(e.target.value)} type="text" - placeholder="New Item" + placeholder="What do you need to do?" aria-label="New item" />