--- id: bad87fed1348bd9aedf08833 title: Delete HTML Elements challengeType: 0 videoUrl: 'https://scrimba.com/p/pVMPUv/ckK73C9' --- ## Description
Our phone doesn't have much vertical space. Let's remove the unnecessary elements so we can start building our CatPhotoApp.
## Instructions
Delete your h1 element so we can simplify our view.
## Tests
```yml tests: - text: Delete your h1 element. testString: assert(!code.match(/

/gi) && !code.match(/<\/h1>/gi), 'Delete your h1 element.'); - text: Leave your h2 element on the page. testString: assert(code.match(/

[\w\W]*<\/h2>/gi), 'Leave your h2 element on the page.'); - text: Leave your p element on the page. testString: assert(code.match(/

[\w\W]*<\/p>/gi), 'Leave your p element on the page.'); ```

## Challenge Seed
```html

Hello World

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

```
## Solution
```js var code = "

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

" ```