So, I had this jquery working just fine and then I put it into wordpress. I've double checked to see if I copied and pasted my original code correctly and I believe that I did. Any suggestions?
I'm going to look at it one more time, but any pointers would be helpful.
Here's what I'm seeing in your HTML code
<p> <a class="ViewAnswerButton"></p>
<p> <a class="HideAnswerButton"></p>
And here's what I'm seeing in your script.
Paragraphs can't wrap each other, so what you've done there doesn't seem to be capable of working.