--- id: bad87fee1348bd9aede08807 title: Establece la familia de fuentes de un elemento challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bvpCg' forumTopicId: 18278 dashedName: set-the-font-family-of-an-element --- # --description-- Puedes utilizar la propiedad `font-family` (familia de fuente) para establecer qué fuente debe usar un elemento. Por ejemplo, si quieres establecer la fuente de tu elemento `h2` a `sans-serif`, usarías el siguiente CSS: ```css h2 { font-family: sans-serif; } ``` # --instructions-- Haz que todos tus elementos `p` usen la fuente `monospace`. # --hints-- Tus elementos `p` deben usar la fuente `monospace`. ```js assert( $('p') .not('.red-text') .css('font-family') .match(/monospace/i) ); ``` # --seed-- ## --seed-contents-- ```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats


``` # --solutions-- ```html

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats


```