Events Flashcards

1
Q

When a button, displaying “Click me.”, is clicked the function “myFunction” should be executed.

A

Click me.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Create a div containing the text “myDIV”. When the mouse moves over it, the background turns red.

A

<div> myDIV </div>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly