First example of javascript directly in a web page

Handling mouse movements

Move the mouse over the image to see what happens:
A picture that changes

Handling clicks

Click on the image to see what happens:
A picture that changes

Changing another element in a page

Click on the image to see what happens:
A picture that changes

Changing elements other than images:
A picture that changes

Some text here.