freeCodeCamp/guide/russian/certifications/front-end-libraries/jquery/target-elements-by-class-us.../index.md

20 lines
662 B
Markdown
Raw Normal View History

2018-10-12 20:00:59 +00:00
---
title: Target Elements by Class Using jQuery
localeTitle: Целевые элементы по классам Использование jQuery
---
## Целевые элементы по классам Использование jQuery
* Вы можете найти элементы с селектором класса jQuery. // $ (. className)
* В этом примере он позволяет вам выбирать элементы с классом «.well»,
## Решение
```javascript
<script>
$(document).ready(function() {
$(".well").addClass("animated bounce");
$(".well").addClass("shake");
});
</script>
```