23 lines
431 B
Markdown
23 lines
431 B
Markdown
---
|
|
title: Use jQuery to Modify the Entire Page
|
|
localeTitle: Usa jQuery para modificar la página completa
|
|
---
|
|
## Usa jQuery para modificar la página completa
|
|
|
|
### Explicación del problema
|
|
|
|
Agrega las clases `animated` y `hinge` a tu `body` .
|
|
|
|
#### Enlaces relevantes:
|
|
|
|
* [.addClass ()](https://api.jquery.com/addClass/e)
|
|
|
|
### Solución:
|
|
|
|
```javascript
|
|
<script>
|
|
$("body").addClass("animated hinge");
|
|
});
|
|
</script>
|
|
|
|
``` |