codepens/expanding-flex-cards-2019/dist/script.js

4 lines
104 B
JavaScript

$(".option").click(function(){
$(".option").removeClass("active");
$(this).addClass("active");
});