closes #509
This commit is contained in:
@@ -48,12 +48,12 @@
|
||||
"name": "Waypoint: Inform with the Paragraph Element",
|
||||
"difficulty": 0.011,
|
||||
"description": [
|
||||
"Create a paragraph element below the h2 element, and give it the text \"Hello Paragraph\". As soon as you create the opening <code><p></code> tag, one of our tests will pass (since this is valid HTML). Be sure to close the element by adding a closing <code></p></code> tag.",
|
||||
"Create a paragraph element below your h2 element, and give it the text \"Hello Paragraph\". As soon as you create the opening <code><p></code> tag, one of our tests will pass (since this is valid HTML). Be sure to close the element by adding a closing <code></p></code> tag.",
|
||||
"Paragraph elements are the preferred element for normal-sized paragraph text on websites.",
|
||||
"You can create a paragraph element like so: <code><p>I'm a p tag!</p></code>"
|
||||
],
|
||||
"tests": [
|
||||
"assert(($('p').length > 0), 'Create an <code>h2</code> elements.')",
|
||||
"assert(($('p').length > 0), 'Create a paragraph element.')",
|
||||
"assert.isTrue((/hello(\\s)+paragraph/gi).test($('p').text()), 'Your paragraph element should have the text \"Hello Paragraph\"')"
|
||||
],
|
||||
"challengeSeed": [
|
||||
@@ -68,7 +68,7 @@
|
||||
"difficulty": 0.012,
|
||||
"description": [
|
||||
"Add a <code>line break</code> between the <code><h2></code> and <code><p></code> elements.",
|
||||
"You can create an line break element with <code><br/></code>.",
|
||||
"You can create a line break element with <code><br/></code>.",
|
||||
"Note that <code><br/></code> has no closing tag. It is a <code>self-closing</code> element. See how a forward-slash precedes the closing bracket?",
|
||||
"You'll encounter other <code>self-closing</code> element tags soon."
|
||||
],
|
||||
|
Reference in New Issue
Block a user