Valeriy 79d9012432 fix(curriculum): quotes in tests (#18828)
* fix(curriculum): tests quotes

* fix(curriculum): fill seed-teardown

* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30

1.9 KiB

id, title, challengeType, videoUrl
id title challengeType videoUrl
bad87fee1348bd9aedf08802 Uncomment HTML 0 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

tests:
  - text: Make your <code>h1</code> element visible on your page by uncommenting it.
    testString: assert($("h1").length > 0, 'Make your <code>h1</code> element visible on your page by uncommenting it.');
  - text: Make your <code>h2</code> element visible on your page by uncommenting it.
    testString: assert($("h2").length > 0, 'Make your <code>h2</code> element visible on your page by uncommenting it.');
  - text: Make your <code>p</code> element visible on your page by uncommenting it.
    testString: assert($("p").length > 0, 'Make your <code>p</code> element visible on your page by uncommenting it.');
  - text: Be sure to delete all trailing comment tags&#44; i.e. <code>--&#62;</code>.
    testString: assert(!/[^fc]-->/gi.test(code.replace(/ *<!--[^fc]*\n/g,'')), 'Be sure to delete all trailing comment tags&#44; i.e. <code>--&#62;</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