From f4f036d7585774c535a915a4a7ab0a3e299f4661 Mon Sep 17 00:00:00 2001 From: oumaimafisaoui Date: Tue, 23 Jul 2024 09:57:34 +0100 Subject: [PATCH] Docs(DPxAI): Fix formatting issue in Ex06 --- subjects/DPxAI/first-move/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subjects/DPxAI/first-move/README.md b/subjects/DPxAI/first-move/README.md index b66e3992b..4cb5e874e 100644 --- a/subjects/DPxAI/first-move/README.md +++ b/subjects/DPxAI/first-move/README.md @@ -14,6 +14,7 @@ This is more of a puzzle to use your brain to follow hints and make things work, > Follow the instructions, ask your peers if you are stuck and stay motivated because you are close to the Quest 00 goal! > Follow every hint you have in the subject! + ### Instructions - for the JavaScript (JS) files, when you have to link one, it's named like so: `name-of-the-exercise.js` @@ -41,6 +42,7 @@ Then in your Javascript file, you're going to close the left eye of your entity. #### Task 3 Then, [set the `style`](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style#setting_styles) of your `eye-left` to change its background color to "black". We also need to modify its shape; for that, we are going to add a new class to it. + ### Code examples #### Example 1 @@ -103,4 +105,4 @@ We provide you with some content to get started smoothly, check it out! - Video [DOM JS - getElementById](https://www.youtube.com/watch?v=34kAR8yBtDM&list=PLHyAJ_GrRtf979iZZ1N3qYMfsPj9PCCrF&index=8) - Video [DOM JS - Set an element's inline style](https://www.youtube.com/watch?v=pxlYKvju1z8&list=PLHyAJ_GrRtf979iZZ1N3qYMfsPj9PCCrF&index=15) - Video [DOM JS - classList: add & remove](https://www.youtube.com/watch?v=uQEM-3_4vPA&list=PLHyAJ_GrRtf979iZZ1N3qYMfsPj9PCCrF&index=17) -- [Memo DOM JS](https://github.com/nan-academy/js-training/blob/gh-pages/examples/dom.js) \ No newline at end of file +- [Memo DOM JS](https://github.com/nan-academy/js-training/blob/gh-pages/examples/dom.js)