JSFiddle - React, Tailwind, and code Playground
HTML
<div id="body">
<ul style="list-style: none;">
<li><a class="question" href="#">How do I log in to email?</a>
<div class="answer">
a
<ul>
<li>Open your favorite internet browser to <a href="https://email.school.edu">email.school.edu</a>.</li>
<li>Use your school username and the password given to you by ITS.</li>
<li>You will be required to change your password immediately.</li>
</ul>
</div>
</li>
<li><a class="question" href="#">Is my email password the same as my school password?</a>
<div class="answer">No. After logging in to email for the first time, you will be required to change your password. It is your option to use the same password or create another password; however, ITS strongly encourages you to create a <strong>Strong</strong> password as indicated on the status bar in the email password site. Keep in mind that if you change your school password, your email password will not change and vice versa.</div>
</li>
</ul>
</div>
JavaScript
$(".answer").hide();
$("a.question").click(function () {
$(this).next(".answer").slideToggle(300);
return false;
});