Click here to view more cat photos.
Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
- flea treatment
- thunder
- other cats
--- id: bad87fee1348bd9aede08807 title: Impostare la famiglia di caratteri di un elemento challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bvpCg' forumTopicId: 18278 dashedName: set-the-font-family-of-an-element --- # --description-- Puoi impostare il tipo di carattere che un elemento deve utilizzare con la proprietà `font-family`. Ad esempio, se desideri impostare il carattere del tuo elemento `h2` su `sans-serif`, dovresti utilizzare il seguente CSS: ```css h2 { font-family: sans-serif; } ``` # --instructions-- Fai in modo che tutti i tuoi elementi `p` utilizzino il carattere `monospace`. # --hints-- I tuoi elementi `p` dovrebbero usare il font `monospace`. ```js assert( $('p') .not('.red-text') .css('font-family') .match(/monospace/i) ); ``` # --seed-- ## --seed-contents-- ```html
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate:
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: