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

18 lines
523 B
Markdown

---
title: Target Elements by id Using jQuery
localeTitle: Целевые элементы по id Использование jQuery
---
## Целевые элементы по id Использование jQuery
## Решение
```javascript
<script>
$(document).ready(function() {
$("button").addClass("animated bounce");
$(".well").addClass("animated shake");
$("#target3").addClass("fadeOut"); // Target elements with the id "target3" and add the class "fadeOut" to them.
});
</script>
```