I'm looking to change the color of a specific div when it's clicked on among three different ones. The goal is to indicate which one is active without reverting back to the original color once the mouse is released, similar to a focus effect. I'm also utilizing bootstrap for this project.
Below is an example of the HTML structure:
<div>
Section 1
</div>
<div>
Section 2
</div>
<div>
Section 3
</div>
Is there a way to achieve this without relying on JavaScript?