Compare commits

...

6 Commits

Author SHA1 Message Date
oumaimafisaoui e0784e6f29 Chore(DPxAI): removed the link check 2024-07-23 19:30:56 +01:00
oumaimafisaoui f3d212e405 Chore(DPxAI): change the name of the test 2024-07-23 16:01:19 +01:00
oumaimafisaoui 592a1edd44 Chore(DPxAI): change the name of the test 2024-07-23 16:00:11 +01:00
oumaimafisaoui 6c1f4d88dc Docs(DPxAI): replaced Quest00 with Shape Crafting 2024-07-23 15:56:58 +01:00
oumaimafisaoui 738b74861d Docs(DPxAI): Fix formatting issue in Ex06 2024-07-23 09:57:34 +01:00
oumaimafisaoui 6c66981938 Docs(DPxAI): Fix the subject of Quest00 / Ex06 2024-07-23 09:53:36 +01:00
2 changed files with 3 additions and 4 deletions

View File

@ -1,9 +1,6 @@
export const tests = []
tests.push(async ({ eq, page }) => {
// check the JS script has been linked
await eq.$('script', { type: 'module' })
// check the JS script has a valid src
const source = await page.$eval(
'script',

View File

@ -12,8 +12,9 @@ In these instructions, you will execute the steps to change your robot's eyes fr
This is more of a puzzle to use your brain to follow hints and make things work, even if it seems complex (it is not!). Isn't that your brain's superpower?
> Follow the instructions, ask your peers if you are stuck and stay motivated because you are close to the Quest 00 goal!
> Follow the instructions, ask your peers if you are stuck and stay motivated because you are close to the Shape Crafting 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