mirror of https://github.com/01-edu/public.git
Docs(DPxAI): Modify subject for first-wink
This commit is contained in:
parent
38895e7b8f
commit
e985d3fbce
|
@ -53,14 +53,13 @@ button {
|
|||
|
||||
#### Task 2:
|
||||
|
||||
Select the button with id `button` in your JavaScript file that will allow the user to control the robot’s left eye.
|
||||
Select the button in your JavaScript file that will allow the user to control the robot’s left eye.
|
||||
|
||||
```js
|
||||
// Select the button element using its ID so we can interact with it in our JavaScript
|
||||
|
||||
//Example of selecting a button with "small" as an id
|
||||
|
||||
const myButton = document.querySelector("#small");
|
||||
//Example of selecting a button called myButton
|
||||
const myButton = document.querySelector("button");
|
||||
```
|
||||
|
||||
**`Prompt Example:`**
|
||||
|
|
Loading…
Reference in New Issue