The goal is to add the two classes to any divs with the class .title.
Here is my code:
$(document).ready(function() {
$('#welcome').mouseenter(function() {
$('.title').addClass('animated').addClass('swing');
});
});
Is this the best way to do this?