Picture Swapper

Picture Swapper
Template: Look at the example. Click this link, fork, and add your username to the project name: new project

Hints

If you're having trouble, look at the class and getting attribute exercises.
For swapping two images, the easiest way is to swap their src attributes. Complete this illustration to learn how to swap.
To check if a variable has no value, check if it's equal to the keyword null.
Last section Next section