--- id: bad87fed1348bd9aedf08833 title: Delete HTML Elements challengeType: 0 videoUrl: '' localeTitle: 删除HTML元素 --- ## Description
我们的手机没有太多的垂直空间。让我们删除不必要的元素,以便我们开始构建CatPhotoApp。
## Instructions
删除你的h1元素,以便我们简化视图。
## Tests
```yml tests: - text: 删除你的h1元素。 testString: 'assert(!code.match(/

/gi) && !code.match(/<\/h1>/gi), "Delete your h1 element.");' - text: 将h2元素留在页面上。 testString: 'assert(code.match(/

[\w\W]*<\/h2>/gi), "Leave your h2 element on the page.");' - text: 将p元素留在页面上。 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 // solution required ```