--- id: bad87fee1348bd9aedf08804 title: Comment out HTML challengeType: 0 videoUrl: '' localeTitle: 评论HTML --- ## Description
请记住,为了开始评论,您需要使用<!--并结束评论,您需要使用-->这里您需要在h2元素开始之前结束评论。
## Instructions
注释掉你的h1元素和你的p元素,但不是你的h2元素。
## Tests
```yml tests: - text: 注释掉你的h1元素,使其在你的页面上不可见。 testString: 'assert(($("h1").length === 0), "Comment out your h1 element so that it is not visible on your page.");' - text: 保持h2元素取消注释,以便在页面上显示。 testString: 'assert(($("h2").length > 0), "Leave your h2 element uncommented so that it is visible on your page.");' - text: 注释掉你的p元素,使其在你的页面上不可见。 testString: 'assert(($("p").length === 0), "Comment out your p element so that it is not visible on your page.");' - text: 请务必使用-->关闭每条评论。 testString: 'assert(code.match(/[^fc]-->/g).length > 1, "Be sure to close each of your comments with -->.");' - text: 请勿更改代码中h1 h2p的顺序。 testString: 'assert((code.match(/<([a-z0-9]){1,2}>/g)[0]==="

" && code.match(/<([a-z0-9]){1,2}>/g)[1]==="

" && code.match(/<([a-z0-9]){1,2}>/g)[2]==="

") , "Do not change the order of the h1 h2 or p in the code.");' ```

## Challenge Seed
```html ```
## Solution
```js // solution required ```