mirror of https://github.com/01-edu/public.git
Gave the `data` keyword in the instructions to be clearer. (#608)
This commit is contained in:
parent
133e487273
commit
2a82f17c7b
|
@ -13,7 +13,7 @@ Today, your mission is to build a 3-column brick tower, maintain it and finally
|
|||
<div id="brick-1"></div>
|
||||
```
|
||||
|
||||
- each brick in the middle column has to be set with the custom attribute `foundation` receiving the value `true`
|
||||
- each brick in the middle column has to be set with the custom data attribute `foundation` receiving the value `true`
|
||||
|
||||
- Each one of the two emojis in the top-right corner fires a function on click:
|
||||
|
||||
|
@ -27,7 +27,7 @@ Today, your mission is to build a 3-column brick tower, maintain it and finally
|
|||
- [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element)
|
||||
- [`setInterval()`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval) / [`clearInterval()`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearInterval)
|
||||
- [`hasAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute)
|
||||
- [dataset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/dataset)
|
||||
- [dataset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/dataset) / [`data-*`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*)
|
||||
- [`remove()`](https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove)
|
||||
|
||||
### Provided files
|
||||
|
|
Loading…
Reference in New Issue