JM
Nice article! It is written very clearly. I really like the end result and the transitions. To prevent repeating code, you can merge the two eventhandler functions like so: https://codepen.io/drklonk/pen/NWbLgQg It keeps the code for changing the picture in one place and is a bit easier to expand on, I believe.