<div class="slide_button_wrapper left first" ><p class="text">Text1</p></div>
<div class="slide_button_wrapper right first" ><p class="text">Text2</p></div>
<div class="slide_button_wrapper left second"><p class="text">Text3</p></div>
<div class="slide_button_wrapper right second" ><p class="text">Text4</p></div>
<div class="slide_button_wrapper left third" ><p class="text">Text5</p></div>
What I'm trying to do is when I click Text1, then the color of Text1 will become red, when I click another one, say Text3, then the color of Text3 will become blue, but Text1 will still be red, then when I click the third time on any div, nothing should be happening. Don't know how to do this, thanks in advance!