Here is a link to my walking man demo: http://imanas.shanghai.nyu.edu/~sls741/js-exercise-conditionals/
One surprising thing that I struggled with for a while was that when I was checking for opacity, at first, I was checking for opacity = 1.0
. However, I discovered through using console.log
that this does not work and instead you should simply check for opacity = 1
.