Doc(DPxAI): Modify subject for first-wink

This commit is contained in:
oumaimafisaoui 2024-08-19 20:48:49 +01:00 committed by Oumaima Fisaoui
parent 46b5506344
commit 38895e7b8f
1 changed files with 4 additions and 3 deletions

View File

@ -93,13 +93,14 @@ const handleClick = (event) => {
} else {
// If the eye is open, close it and update the button text
}
}
// Toggle the 'eye-closed' class on the 'eye-left' div
};
// register the event:
button.addEventListener('click', handleClick)
// here we ask the button to call our `handleClick` function
// on the 'click' event, so every time it's clicked
};
```
**`Prompt Examples:`**