--- id: bad87fee1348bd9aede08807 title: Set the Font Family of an Element challengeType: 0 videoUrl: '' localeTitle: Definir a família de fontes de um elemento --- ## Description
Você pode definir qual fonte um elemento deve usar, usando a propriedade font-family . Por exemplo, se você quiser definir a fonte do elemento h2 como sans-serif , use o seguinte CSS:
h2 {
font-family: sem serifa;
}
## Instructions
Faça com que todos os seus elementos p usem a fonte monospace .
## Tests
```yml tests: - text: Seus elementos p devem usar a fonte 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 ```