Merge branch 'master' of http://github.com/FreeCodeCamp/freecodecamp
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>p</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."
|
||||
],
|
||||
@ -295,7 +295,7 @@
|
||||
"name": "Waypoint: Change the Font Size of an Element",
|
||||
"difficulty": 0.021,
|
||||
"description": [
|
||||
"Create a second <code>p</code> element. Then set the font size of all <code>p</code> elements to 16 pixels.",
|
||||
"Create a second <code>p</code> element. Then, inside your <code><style></code> element, set the font size of all <code>p</code> elements to 16 pixels.",
|
||||
"Font size is controlled by the <code>font-size</code> CSS attribute, like this: <code>h1 { font-size: 30px; }</code>.",
|
||||
"First, create a second paragraph element with the following Kitty Ipsum text: <code>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</code>",
|
||||
"See if you can figure out how to give both of your paragraph elements the font-size of 16 pixels (<code>16px</code>). You can do this inside the same <code><style></code> tag that we created for your \"red-text\" class."
|
||||
|
Reference in New Issue
Block a user