click function (multiple clicks and multiple divs)
https://jsfiddle.net/zdtgo5zp/
I am struggling with the click function. I have three divs: one with some text that I want to change, and two divs that I want to be clickable.
If I set up the click function to only work once on one of the divs, it works, BUT, I want to be able to click on it again and revert the text back to the original AND I want the process to work on multiple divs, which I am struggling with.
Thank you in advance!!!