I was able to get the first 2 examples working, but I'm having trouble with the last one.

(I'm assuming typeof is supposed to be a placeholder thing since I couldnt get it working, although admittedly I'm not positive on that since I'm still new to all this syntax stuff.)

As of right now, the box1 contraption is non-responsive as I haven't been able to get it to alert.