freeCodeCamp/guide/english/certifications/front-end-libraries/jquery/use-jquery-to-modify-the-en.../index.md

21 lines
355 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: Use jQuery to Modify the Entire Page
---
## Use jQuery to Modify the Entire Page
### Problem Explanation
Add the classes `animated` and `hinge` to your `body` element.
#### Relevant Links:
- [.addClass()](https://api.jquery.com/addClass/e)
### Solution:
```javascript
<script>
$("body").addClass("animated hinge");
});
</script>
```