addclass array 1

addclass array

$("#panier_nbr").addClass(
          "animate__animated animate__bounceOutLeft"
        );

Here is what the above code is Doing:
1. We’re selecting the element with the id of panier_nbr
2. We’re adding a class to that element
3. The class we’re adding is called animate__animated
4. The class we’re adding is called animate__bounceOutLeft

Similar Posts