--- id: bad87fee1348bd9aede08807 title: Set the Font Family of an Element challengeType: 0 videoUrl: '' localeTitle: Establecer la familia de fuentes de un elemento --- ## Description
Puede establecer qué fuente debe usar un elemento, usando la propiedad de font-family . Por ejemplo, si quisiera establecer la fuente de su elemento h2 en sans-serif , usaría el siguiente CSS:
h2 {
Familia tipográfica: sans-serif;
}
## Instructions
Haz que todos tus elementos p utilicen la fuente monospace .
## Tests
```yml tests: - text: Tus elementos p deberían usar la fuente monospace . testString: 'assert($("p").not(".red-text").css("font-family").match(/monospace/i), "Your p elements should use the font monospace.");' ```
## Challenge Seed
```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats


```
## Solution
```js // solution required ```