2.2 KiB
2.2 KiB
id, title, challengeType, videoUrl, forumTopicId, localeTitle
id | title | challengeType | videoUrl | forumTopicId | localeTitle |
---|---|---|---|---|---|
bad87fee1348bd9aedf08802 | Uncomment HTML | 0 | https://scrimba.com/p/pVMPUv/cBmG9T7 | 18329 | Раскомментирование в HTML |
Description
<!--
, и заканчиваются с -->
Instructions
h1
, h2
и p
.
Tests
tests:
- text: Make your <code>h1</code> element visible on your page by uncommenting it.
testString: assert($("h1").length > 0);
- text: Make your <code>h2</code> element visible on your page by uncommenting it.
testString: assert($("h2").length > 0);
- text: Make your <code>p</code> element visible on your page by uncommenting it.
testString: assert($("p").length > 0);
- text: Be sure to delete all trailing comment tags, i.e. <code>--></code>.
testString: assert(!/[^fc]-->/gi.test(code.replace(/ *<!--[^fc]*\n/g,'')));
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>