<!--
and to end a comment, you need to use -->
Here you'll need to end the comment before your h2
element begins.
h1
element and your p
element, but not your h2
element.
h1
element so that it is not visible on your page.
testString: 'assert(($("h1").length === 0), "Comment out your h1
element so that it is not visible on your page.");'
- text: Leave your h2
element uncommented so that it is visible on your page.
testString: 'assert(($("h2").length > 0), "Leave your h2
element uncommented so that it is visible on your page.");'
- text: Comment out your p
element so that it is not visible on your page.
testString: 'assert(($("p").length === 0), "Comment out your p
element so that it is not visible on your page.");'
- text: 'Be sure to close each of your comments with -->
.'
testString: 'assert(code.match(/[^fc]-->/g).length > 1, "Be sure to close each of your comments with -->
.");'
- text: Do not change the order of the h1
h2
or p
in the code.
testString: 'assert((code.match(/<([a-z0-9]){1,2}>/g)[0]==="") , "Do not change the order of the h1
h2
or p
in the code.");'
```