Challenge Target The Same Element With Multiple JQuery Selectors - thelastmile/FreeCodeCamp GitHub Wiki
The multiple jQuery selectors are:
- By type:
$("button") - By class:
$(".btn") - By id:
$("#target1")
<script>
$(document).ready(function() {
$("button").addClass("animated");
$(".btn").addClass("shake");
$("#target1").addClass("btn-primary");
});
</script>