--- id: bad87fee1348bd9aede08807 title: Set the Font Family of an Element challengeType: 0 videoUrl: '' localeTitle: '' --- ## Description
يمكنك تعيين الخط الذي يجب أن يستخدمه عنصر ما ، باستخدام خاصية font-family . على سبيل المثال ، إذا أردت تعيين خط عنصر h2 على sans-serif ، sans-serif CSS التالي:
h2 {
عائلة الخط: sans-serif؛
}
## Instructions
اجعل جميع عناصر p تستخدم خط monospace .
## Tests
```yml tests: - text: يجب أن تستخدم عناصر p الخاصة بك 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 ```