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
.