<h1 class="element1">Hello World!</h1> <h2 class="element2">Hello World!</h2> <h3 class="element3">Hello World!</h3> <button>Change Color</button>
$("button").click(function(){ $(".element1, .element2, .element3").css("color", "red"); });
HTML
CSS
JS