Getting started with jquery - tribute page project

I’m starting to work on my tribute page. I’m trying to manipulate classes using jquery, but there are no changes. I’ve tried to see some other examples, but I’m still stuck.

For example here is my code, written in the java script section of the codepen interface:

$(document).ready(function(){
 $(".text-primary").addClass("color", "red")
$(".text-primary").addClass("animated fadeOut")
  });

Here is my html code:

<h1 class = "text-primary">Hello World!</h1>

What’s going wrong?

Hi,
Thanks. I added the animate.css library and things work now!