From 2a82f17c7ba594401f07af3d11eda34579540fbb Mon Sep 17 00:00:00 2001 From: MarieMalarme Date: Thu, 18 Jun 2020 11:24:38 +0100 Subject: [PATCH] Gave the `data` keyword in the instructions to be clearer. (#608) --- subjects/build-brick-and-break/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/build-brick-and-break/README.md b/subjects/build-brick-and-break/README.md index 2a592b7c..fa364058 100644 --- a/subjects/build-brick-and-break/README.md +++ b/subjects/build-brick-and-break/README.md @@ -13,7 +13,7 @@ Today, your mission is to build a 3-column brick tower, maintain it and finally
``` - - 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