---
# System prepended metadata

title: Ejercicio `4` Libro JavaScript Ninja

---

# Ejercicio `4` Libro JavaScript Ninja

## ⚙️ Ejercicio

Crear una página web que tenga el mismo aspecto que la siguiente iamgen:

![WEB](https://nappy-scene.surge.sh/ejercicio_html_css_4.png)

El texto es el siguiente:

```
Secrets of the JavaScript Ninja

Secrets of the Javascript Ninja takes you on a journey towards mastering modern JavaScript development in three phases: design, construction, and maintenance. Written for JavaScript developers with intermediate-level skills, this book will give you the knowledge you need to create a cross-browser JavaScript library from the ground up.


About the Technology
JavaScript developers commonly rely on collections of reusable JavaScript code—written by themselves or by someone else at their company. Alternatively, they rely on code from a third party. But in all these cases they need to know how to either construct a cross-browser library from scratch or be adept at using and maintaining their library of choice.


About the book
You can't always attack software head-on. Sometimes you come at it sideways or sneak up from behind. You need to master an arsenal of tools and know every stealthy trick. You have to be a ninja.

Secrets of the JavaScript Ninja leads you down the pathway to JavaScript enlightenment. This unique book starts with key concepts, like the relationships between functions, objects, and closures, taught from the master's perspective. You'll grow from apprentice to ninja as you soak up fresh insights on the techniques you use every day and discover features and capabilities you never knew about. When you reach the final chapters, you'll be ready to code brilliant JavaScript applications and maybe even write your own libraries and frameworks.

You don't have to be a ninja to read this book—just be willing to become one. Are you ready?

What's inside
- Functions, objects, closures, regular expressions, and more
- Seeing applications and libraries from the right perspective
- Dealing with the complexities of cross-browser development
- Modern JavaScript design


About the authors
John Resig is an acknowledged JavaScript authority and the creator of the jQuery library (see more). Bear Bibeault is a web developer and author of the first edition, as well as coauthor of Ajax in Practice (buy), Prototype and Scriptaculous in Action (buy), and jQuery in Action (buy) from Manning. Josip Maras is a post-doctoral researcher and teacher.

```

#### 📋 Consideraciones:

- Cada sección (datos, descripción y contenido) debe estar encerrada en un `<div>` que tenga el atributo id con un valor que describa la sección.

- El encabeza de la web debe ser un link a la página: `https://www.amazon.es/Secrets-JavaScript-Ninja-John-Resig/dp/193398869X`

- La palabra **JavaScript** en el primer párrafo debe ser de color `#C30` y tener un link que lleve a la dirección: `https://es.wikipedia.org/wiki/JavaScript`

- El texto `see more` del último párrafo es un vínculo a la dirección `https://es.wikipedia.org/wiki/JQuery`

- Las URLs para los enlaces **buy** que tenemos en el último párrafo son:
  - Ajax in Practice: `https://www.manning.com/books/ajax-in-practice`
  - Prototype and Scriptaculous in Action: `https://www.manning.com/books/prototype-and-scriptaculous-in-action`
  - jQuery in Action: `https://www.manning.com/books/jquery-in-action`

- El tipo de fuente para toda la página es `Arial, Helvetica, sans-serif`

- El título:
  - El color es `#C30`
  - El tamaño de fuente es 24px

- El texto principal:
  - El color es `#369`
  - El tamaño del texto es 16px
  - El texto del final está en itálica, color de fondo `#FFFFCC` y color de texto `#0000BB`

- Los 4 encabezados de nivel 2:
  - El color del texto es negro
  - El peso de la fuente es `bold`
  - El tamaño del texto: 16px

- El color del texto de cada sección es `#555`

- Los nombres de los autores:
  - El color del texto es amarillo
  - El color de fondo del texto es negro
  - Texto en itálica
