1.8 KiB
1.8 KiB
id | title | challengeType | videoUrl | forumTopicId |
---|---|---|---|---|
bad87fee1348bd9aedf08802 | Uncomment HTML | 0 | https://scrimba.com/p/pVMPUv/cBmG9T7 | 18329 |
Description
<!--
and end with a -->
Instructions
h1
, h2
and p
elements.
Tests
tests:
- text: Your <code>h1</code> element should be visible on the page by uncommenting it.
testString: assert($("h1").length > 0);
- text: Your <code>h2</code> element should be visible on the page by uncommenting it.
testString: assert($("h2").length > 0);
- text: Your <code>p</code> element should be visible on the page by uncommenting it.
testString: assert($("p").length > 0);
- text: No trailing comment tags should be visible on the page (i.e. <code>--></code>).
testString: assert(!$('*:contains("-->")')[1]);
Challenge Seed
<!--
<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
-->
Solution
<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>