In the bottom right corner of the CodePen example, there should be a button that says Fork. Click it. This will make a copy of the code that you can save to your CodePen account.
While anyone can edit or fork a CodePen, you can’t save and share your work without creating a CodePen account. It’s easy and free. The button to do this is in the upper right corner of the CodePen window.
https://codepen.io/w0whitaker/pen/vYZzxZV
https://codepen.io/romola/full/wveRgKW
This is not as nice as I wanted. Re-using the last button added complication. I am not happy with the colors but hopefully they make the point.
https://codepen.io/kldickenson/pen/dyRwPLZ
a modest try. I benefited from others thanks for their codings. https://codepen.io/serdar-cihan-g-le-/pen/mdwQJrg
https://codepen.io/miklaan/pen/zYzmmrP
Colors can be better, but my inspiration was not good today :)
https://codepen.io/maeyler/pen/vYZzxBj