Вы видите, как мы отбросили все ваши элементы <code>button</code> ? Мы выбрали их с помощью <code>$("button")</code> , затем мы добавили к ним некоторые классы CSS с<code>.addClass("animated bounce");</code> , Вы только что использовали <code>.addClass()</code> jQuery, которая позволяет добавлять классы к элементам. Во- первых, давайте нацеливать свои <code>div</code> элементы с классом <code>well</code>с помощью <code>$(".well")</code> селектор. Обратите внимание, что, как и в объявлениях CSS, вы вводите a <code>.</code> перед именем класса. Затем с помощью jQuery в <code>.addClass()</code> функцию , чтобы добавить классы <code>animated</code> и <code>shake</code> . Например, вы можете сделать все элементы с<code>$(".text-primary").addClass("animated shake");</code> типа <code>text-primary</code> , добавив следующее к вашей <code>document ready function</code> : <code>$(".text-primary").addClass("animated shake");</code>
- text: Use the jQuery <code>addClass()</code> function to give the classes <code>animated</code> and <code>shake</code> to all your elements with the class <code>well</code>.