When the user clicks div.togglethis, I need two things to happen:
Add an "active" class to div.togglethis
Add a "show" class to an outside element div.showthis
When the user clicks on div.togglethis a second time, it removes those two classes from both elements.
I am somewhat new to javascript, so any assistance is welcome.
HTML:
<div class="togglethis">Click me to add "active"</div>
<div class="showthis">When togglethis is "active", I am "showthis"</div>