mirror of https://github.com/01-edu/public.git
Compare commits
6 Commits
ad18d49587
...
e0784e6f29
Author | SHA1 | Date |
---|---|---|
oumaimafisaoui | e0784e6f29 | |
oumaimafisaoui | f3d212e405 | |
oumaimafisaoui | 592a1edd44 | |
oumaimafisaoui | 6c1f4d88dc | |
oumaimafisaoui | 738b74861d | |
oumaimafisaoui | 6c66981938 |
|
@ -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',
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue