I am trying to have my button (id="AnswersEx1") when it is clicked, to toggle on/off the (class="FrenchStage1Ex1") text. There are at least two instances of that class being used.
My html:
<h5>
<button class="AnswerTitle" id="AnswersEx1">Reveal Answers</button>
</h5>
<li>
<p>
the passeport
<textarea></textarea>
<span class="FrenchStage1Ex1">
la passeport
</span>
</p>
</li>
<li>
<p>the briefcase
<textarea></textarea>
<span class="FrenchStage1Ex1">
la valise
</span>
</p>
Disclaimer: I did spend more than 2 days searching everything similar. This is unique because it has a class (not a div), a person who understands 0 javascript, and the class is attached to span tags in different <p></p>
groups (which may affect how it is hidden)