From 29297f48c9445112e24f4d04c018e782200ff578 Mon Sep 17 00:00:00 2001 From: The Coding Aviator <34807532+thecodingaviator@users.noreply.github.com> Date: Tue, 4 Dec 2018 19:46:30 +0530 Subject: [PATCH] Fixed issue about tag capitalization (#34276) --- .../inform-with-the-paragraph-element.english.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/inform-with-the-paragraph-element.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/inform-with-the-paragraph-element.english.md index 870afa33b4..d6d7c2fc35 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/inform-with-the-paragraph-element.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/inform-with-the-paragraph-element.english.md @@ -15,6 +15,8 @@ You can create a paragraph element like this: ## Instructions
Create a p element below your h2 element, and give it the text "Hello Paragraph". +Note: +As a convention, all HTML tags are written in lowercase, for example <p></p> and not <P></P>.
## Tests @@ -23,7 +25,7 @@ Create a p element below your h2 element, and give it ```yml tests: - text: Create a p element. - testString: assert(($("p").length > 0), 'Create a p element.'); + testString: assert(($("p").length > 0), 'Create a valid p element.'); - text: Your p element should have the text "Hello Paragraph". testString: assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()), 'Your p element should have the text "Hello Paragraph".'); - text: Make sure your p element has a closing tag.