From 4ad29d0c925a2d0a123d9a2c7814618b27c1b797 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Tue, 12 Jan 2016 22:09:14 +0800 Subject: [PATCH] Use "Submit" in test prompt for "Add a Submit Button to a Form" The description says the text should be "Submit", but the test shows "submit" (lower cased). Let's try to make them the same :) --- .../01-front-end-development-certification/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-front-end-development-certification/html5-and-css.json b/seed/challenges/01-front-end-development-certification/html5-and-css.json index 4aafe3e436..9a8fde63d1 100644 --- a/seed/challenges/01-front-end-development-certification/html5-and-css.json +++ b/seed/challenges/01-front-end-development-certification/html5-and-css.json @@ -1820,7 +1820,7 @@ "tests": [ "assert($(\"form\").children(\"button\").length > 0, 'message: Your form should have a button inside it.');", "assert($(\"button\").attr(\"type\") === \"submit\", 'message: Your submit button should have the attribute type set to submit.');", - "assert($(\"button\").text().match(/submit/gi), 'message: Your submit button should have the text \"submit\".');", + "assert($(\"button\").text().match(/submit/gi), 'message: Your submit button should have the text \"Submit\".');", "assert(code.match(/<\\/button>/g) && code.match(/