|
|
|
@ -62,10 +62,6 @@ We provide you with the variable `randomColor`, that stores a random color in ea
|
|
|
|
|
|
|
|
|
|
- Apply the random color to both arms by changing their `backgroundColor`. |
|
|
|
|
|
|
|
|
|
### Expected result |
|
|
|
|
|
|
|
|
|
You can see an example of the expected result [here](https://youtu.be/KjTBuAmUnk4) |
|
|
|
|
|
|
|
|
|
### Code Example: |
|
|
|
|
|
|
|
|
|
```js |
|
|
|
@ -89,6 +85,10 @@ const handleChangeArmColor = (event) => {
|
|
|
|
|
armColorButton.addEventListener("click", handleChangeArmColor); |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
### Expected result |
|
|
|
|
|
|
|
|
|
You can see an example of the expected result [here](https://youtu.be/KjTBuAmUnk4) |
|
|
|
|
|
|
|
|
|
**`Prompt Example:`** |
|
|
|
|
|
|
|
|
|
- "How do I change the background color of multiple elements in JavaScript?" |
|
|
|
|