Hello,
I’m trying to implement an event using jQuery to change the background color of a div when clicked, and then switch it back to the original background color when it’s clicked again. I tried doing it this way: http://codepen.io/gry0/pen/BzOxwm
…but it’s not working, and I can’t figure out why.
I don’t think I’m actually implementing this in my final project, but I’m very curious as to why it’s not working.
Thanks!