--- id: bad87fee1348bd9aedf08808 title: Specify How Fonts Should Degrade challengeType: 0 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: يجب أن يستخدم عنصر h2 الخط Lobster . testString: 'assert($("h2").css("font-family").match(/^"?lobster/i), "Your h2 element should use the font Lobster.");' - text: يجب أن يتحلل عنصر h2 إلى monospace للخط عندما لا يكون Lobster متاحًا. testString: 'assert(/\s*h2\s*\{\s*font-family\:\s*(\"|")?Lobster(\"|")?,\s*monospace\s*;\s*\}/gi.test(code), "Your h2 element should degrade to the font monospace when Lobster is not available.");' - text: '' testString: 'assert(new RegExp("", "gi").test(code), "Be sure to close your comment by adding -->.");' ```
## 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 ```