diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/uncomment-html.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/uncomment-html.english.md index a6a9f02a83..4776d48a6a 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/uncomment-html.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/uncomment-html.english.md @@ -23,14 +23,14 @@ Uncomment your h1, h2 and p elements. ```yml tests: - - text: Your h1 element should be visible on your page by uncommenting it. + - text: Your h1 element should be visible on the page by uncommenting it. testString: assert($("h1").length > 0); - - text: Your h2 element should be visible on your page by uncommenting it. + - text: Your h2 element should be visible on the page by uncommenting it. testString: assert($("h2").length > 0); - - text: Your p element should be visible on your page by uncommenting it. + - text: Your p element should be visible on the page by uncommenting it. testString: assert($("p").length > 0); - - text: All trailing comment tags should be deleted, i.e. -->. - testString: assert(!/[^fc]-->/gi.test(code.replace(/ *). + testString: assert(!$('*:contains("-->")')[1]); ```