i have already written the code and here is the result: https://i.sstatic.net/sEsjQ.png
when i click on another accordion, i want the image on the right side to change like this: https://i.sstatic.net/PCNXY.png
i tried to implement it myself, but instead of changing in place, the images are stacking up like this: https://i.sstatic.net/FLAtt.png
i used the following code and would appreciate any help in solving this issue
<section class="various__sect">
<div class="container">
<div class="row">
<div class="col-6 various__left__group">
<div class="various__title">
Various Kinds of Finances Products
</div>
<div class="various__accordion">
<div class="accordion accordion-flush" id="accordionFlushExample">
<div class="accordion-item">
<h2 class="accordion-header" id="flush-headingOne">
<button id="collapseOne" class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne">
1. We have features that help your finances
</button>
</h2>
<div id="flush-collapseOne" class="accordion-collapse collapse show" aria-labelledby="flush-headingOne" data-bs-parent="#accordionFlushExample">
<div class="accordion-body">
With this scan features, it can make transactions faster and safer, of course
<div class="mt-3">
<a href="">Learn More <span class="bi bi-arrow-right-short"></span></a>
</div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="flush-headingTwo">
<button id="collapseTwo" class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseTwo" aria-expanded="false" aria-controls="flush-collapseTwo">
2. All kinds of activities regarding finances
</button>
</h2>
<div id="flush-collapseTwo" class="accordion-collapse collapse" aria-labelledby="flush-headingTwo" data-bs-parent="#accordionFlushExample">
<div class="accordion-body">
With this scan features, it can make transactions faster and safer, of course
<div class="mt-3">
<a href="">Learn More <span class="bi bi-arrow-right-short"></span></a>
</div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="flush-headingThree">
<button id="collapseThree" class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseThree" aria-expanded="false" aria-controls="flush-collapseThree">
3. Various of needs regarding finance here
</button>
</h2>
<div id="flush-collapseThree" class="accordion-collapse collapse" aria-labelledby="flush-headingThree" data-bs-parent="#...
This layout was created using Bootstrap 5