Docs(DPxAI): Fix formatting issue in Ex06

This commit is contained in:
oumaimafisaoui 2024-07-23 09:57:34 +01:00 committed by Niccolò Primo
parent edfa1a2215
commit f4f036d758
1 changed files with 3 additions and 1 deletions

View File

@ -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)
- [Memo DOM JS](https://github.com/nan-academy/js-training/blob/gh-pages/examples/dom.js)