From 4887abc7b457d004d75ce324edb0f441139e7e26 Mon Sep 17 00:00:00 2001 From: oumaimafisaoui Date: Wed, 28 Aug 2024 18:18:54 +0100 Subject: [PATCH] Fix(DPxAI): Add subject instructions --- subjects/DPxAI/robots-harmony/README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/subjects/DPxAI/robots-harmony/README.md b/subjects/DPxAI/robots-harmony/README.md index 2e02774c6..6f983563f 100644 --- a/subjects/DPxAI/robots-harmony/README.md +++ b/subjects/DPxAI/robots-harmony/README.md @@ -180,12 +180,11 @@ h3 { margin-bottom: 10px; } -#title -{ - text-align: center; - margin: 1rem; - background-color: #383086; - color: rgb(158, 235, 223);; +#title { + text-align: center; + margin: 1rem; + background-color: #383086; + color: rgb(158, 235, 223); } ``` @@ -367,6 +366,11 @@ document.addEventListener("keydown", function (event) { }); ``` +**`Prompt Example:`** + +- "What is event.key in JavaScript and how can it be used to detect keyboard inputs?" +- "How can I use document.querySelector to select multiple elements in JavaScript?" + #### 4- Task 5: Final Touches and Presentation - Test Everything: