Merge branch 'staging' of github.com:FreeCodeCamp/freecodecamp
commit
eaf0c738a7
|
@ -196,7 +196,7 @@
|
||||||
"Change the <code>h2</code> element's style so that its text color is red.",
|
"Change the <code>h2</code> element's style so that its text color is red.",
|
||||||
"We can do this by changing the <code>style</code> of the <code>h2</code> element.",
|
"We can do this by changing the <code>style</code> of the <code>h2</code> element.",
|
||||||
"The style that is responsible for the color of an element's text is the \"color\" style.",
|
"The style that is responsible for the color of an element's text is the \"color\" style.",
|
||||||
"Here's how you would set your <code>h2</code> element's text color to blue: <code><h2 style=\"color: blue\">CatPhotoApp<h2></code>"
|
"Here's how you would set your <code>h2</code> element's text color to blue: <code><h2 style=\"color: blue\">CatPhotoApp<\/h2></code>"
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
"assert($('h2').css('color') === 'rgb(255, 0, 0)', 'Your h2 element should be red.')"
|
"assert($('h2').css('color') === 'rgb(255, 0, 0)', 'Your h2 element should be red.')"
|
||||||
|
@ -265,7 +265,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"_id": "bad87fee1348bd9aefe08806",
|
"_id": "bad87fee1348bd9aefe08806",
|
||||||
"name": "Waypoint: Style Multiple Elements with a CSS Classes",
|
"name": "Waypoint: Style Multiple Elements with a CSS Class",
|
||||||
"difficulty": 0.020,
|
"difficulty": 0.020,
|
||||||
"description": [
|
"description": [
|
||||||
"Apply the \"red-text\" class to the <code>h2</code> and <code>p</code> elements.",
|
"Apply the \"red-text\" class to the <code>h2</code> and <code>p</code> elements.",
|
||||||
|
|
Loading…
Reference in New Issue