From 6ee4f1a87dbf09a105c471c1bee0eebf7800d525 Mon Sep 17 00:00:00 2001 From: Pavel Tsurbeleu Date: Mon, 9 Nov 2015 10:53:13 -0800 Subject: [PATCH] update count a element assertion's message in 'waypoint-nest-an-anchor-element-within-a-paragraph' challenge to precisely reflect the requirements and avoid confusion --- challenges/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index 87bde582a0..b486454051 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -1168,7 +1168,7 @@ "Now nest your existing a element within a new p element so that the surrounding paragraph says \"View more cat photos\", but where only \"cat photos\" is a link, and the rest of the text is plain text." ], "tests": [ - "assert($(\"a[href=\\\"http://www.freecatphotoapp.com\\\"]\").length > 0, 'You need an a element that links to \"freecatphotoapp.com\".')", + "assert($(\"a[href=\\\"http://www.freecatphotoapp.com\\\"]\").length > 0, 'You need an a element that links to \"http://www.freecatphotoapp.com\".')", "assert($(\"a\").text().match(/cat\\sphotos/gi), 'Your a element should have the anchor text of \"cat photos\"')", "assert($(\"p\") && $(\"p\").length > 2, 'Create a new p element around your a element.')", "assert($(\"a[href=\\\"http://www.freecatphotoapp.com\\\"]\").parent().is(\"p\"), 'Your a element should be nested within your new p element.')",