---
id: bad87fee1348bd9aedf08802
title: Uncomment HTML
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVMPUv/cBmG9T7'
---
## Description
Commenting is a way that you can leave comments for other developers within your code without affecting the resulting output that is displayed to the end user.
Commenting is also a convenient way to make code inactive without having to delete it entirely.
Comments in HTML starts with <!--
, and ends with a -->
## Instructions
Uncomment your h1
, h2
and p
elements.
## Tests
```yml
tests:
- text: Make your h1
element visible on your page by uncommenting it.
testString: 'assert($("h1").length > 0, "Make your h1
element visible on your page by uncommenting it.");'
- text: Make your h2
element visible on your page by uncommenting it.
testString: 'assert($("h2").length > 0, "Make your h2
element visible on your page by uncommenting it.");'
- text: Make your p
element visible on your page by uncommenting it.
testString: 'assert($("p").length > 0, "Make your p
element visible on your page by uncommenting it.");'
- text: 'Be sure to delete all trailing comment tags, i.e. -->
.'
testString: 'assert(!/[^fc]-->/gi.test(code.replace(/ *
```
## Solution
```js
// solution required
```