2.0 KiB
2.0 KiB
id | title | challengeType | videoUrl | localeTitle |
---|---|---|---|---|
bad87fee1348bd9aedf08802 | Uncomment HTML | 0 | HTML sem comentário |
Description
<!--
e terminam com um -->
Instructions
h1
, h2
e p
. Tests
tests:
- text: 'Torne seu elemento <code>h1</code> visível em sua página, descomentando-o.'
testString: 'assert($("h1").length > 0, "Make your <code>h1</code> element visible on your page by uncommenting it.");'
- text: 'Torne seu elemento <code>h2</code> visível em sua página, descomentando-o.'
testString: 'assert($("h2").length > 0, "Make your <code>h2</code> element visible on your page by uncommenting it.");'
- text: 'Torne seu elemento <code>p</code> visível em sua página, descomentando-o.'
testString: 'assert($("p").length > 0, "Make your <code>p</code> element visible on your page by uncommenting it.");'
- text: 'Certifique-se de excluir todas as tags de comentário à direita, ou seja, <code>--></code> .'
testString: 'assert(!/[^fc]-->/gi.test(code.replace(/ *<!--[^fc]*\n/g,"")), "Be sure to delete all trailing comment tags, i.e. <code>--></code>.");'
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
// solution required