How to make the image clickable?
I'm currently learning JavaScript on scrimba, and I use chatGPT, didn't work well.
HTML: <div class="questions">
<div class="question1">
<span> What is Frontend Mentor, and how will it help me?</span>
<img src="icon-plus.svg" alt="Expand">
<img src="icon-minus.svg" class="hidden">
</div>
<div class="answer1 hidden" >
<p> Frontend Mentor offers realistic coding challenges to help developers improve their
frontend coding skills with projects in HTML, CSS, and JavaScript. It's suitable for
all levels and ideal for portfolio building.</p>
</div>
<div class="question2">
<span> Is Frontend Mentor free?</span>
<img src="icon-plus.svg" alt="Expand">
<img src="icon-minus.svg" class="hidden">
</div>
<div class="answer2 hidden">
<p>Yes, Frontend Mentor offers both free and premium coding challenges, with the free
option providing access to a range of projects suitable for all skill levels.</p>
</div>
<div class="question3">
<span>Can I use Frontend Mentor projects in my portfolio?</span>
<img src="icon-plus.svg" alt="Expand">
<img src="icon-minus.svg" class="hidden">
</div>
<div class="answer3 hidden">
<p>Yes, you can use projects completed on Frontend Mentor in your portfolio. It's an excellent
way to showcase your skills to potential employers!</p>
</div>
HTML: <div class="questions">
<div class="question1">
<span> What is Frontend Mentor, and how will it help me?</span>
<img src="icon-plus.svg" alt="Expand">
<img src="icon-minus.svg" class="hidden">
</div>
<div class="answer1 hidden" >
<p> Frontend Mentor offers realistic coding challenges to help developers improve their
frontend coding skills with projects in HTML, CSS, and JavaScript. It's suitable for
all levels and ideal for portfolio building.</p>
</div>
<div class="question2">
<span> Is Frontend Mentor free?</span>
<img src="icon-plus.svg" alt="Expand">
<img src="icon-minus.svg" class="hidden">
</div>
<div class="answer2 hidden">
<p>Yes, Frontend Mentor offers both free and premium coding challenges, with the free
option providing access to a range of projects suitable for all skill levels.</p>
</div>
<div class="question3">
<span>Can I use Frontend Mentor projects in my portfolio?</span>
<img src="icon-plus.svg" alt="Expand">
<img src="icon-minus.svg" class="hidden">
</div>
<div class="answer3 hidden">
<p>Yes, you can use projects completed on Frontend Mentor in your portfolio. It's an excellent
way to showcase your skills to potential employers!</p>
</div>

