I have this images:
<div class="image-index-container">
<div>
<img class='index-pics' src="images/yourbag.png" alt="">
<p class="activeIndex">Your Bag</p>
</div>
<hr>
<div style="width: 13%">
<img class='index-pics' src="images/delivery-gray.png" alt="">
<p>Delivery Details</p>
</div>
</div>
when I click on one button I want to change the src attribute from images/yourbag to images/yourbag-gray and the img with the src images/delivery-gray to images/delivery.
in addition to remove the class activeIndex from the first text and add it to the second one without using JQuery