how to code a class to toggle function code example Example: toggle class <div class="tumble">Some text.</div>