diff --git a/seed_data/coursewares.json b/seed_data/coursewares.json
index 2a9a2e9288..614ae432d3 100644
--- a/seed_data/coursewares.json
+++ b/seed_data/coursewares.json
@@ -345,7 +345,7 @@
},
{
"_id": "bad87fee1348bd9aedf08805",
- "name": "Create a Style Tag for CSS",
+ "name": "Use CSS Selectors to Style Elements",
"difficulty": 0.018,
"description": [
"Create remove your h2
element's style
tag and write the CSS to make all h2
elements blue.",
@@ -353,7 +353,7 @@
"When you entered <h2 style=\"color: red\">Cat Photo App<h2>
, you were giving that individual h2 element an inline style
",
"That's one way to add style to an element, but a better way is by using Cascading Style Sheets (CSS)
.",
"At the top of your code, create a style tag
like this: <style></style>
",
- "Inside that style element, you can create a global style
for all h2
elements. For example, if you wanted all h2
elements to be red, your style element would look like this: <style>h2 {color: red;}</style>
",
+ "Inside that style element, you can create a css selector
for all h2
elements. For example, if you wanted all h2
elements to be red, your style element would look like this: <style>h2 {color: red;}</style>
",
"Note that it's important to have an opening and closing curly braces
({
and }
) around each element's style. You also need to make sure your element's style is between the opening and closing style tags. Finally, be sure to add the semicolon to the end of each of the element's styles."
],
"tests": [
@@ -408,8 +408,8 @@
"tests": [
"assert($('h2').css('color') === 'rgb(255, 0, 0)', 'Your h2 element should be red.')",
"assert($('h2').hasClass('red-text'), 'You h2 element should have the class \"red-text\".')",
- "assert($('p').css('color') === 'rgb(255, 0, 0)', 'Your h2 element should be red.')",
- "assert($('p').hasClass('red-text'), 'You h2 element should have the class \"red-text\".')"
+ "assert($('p').css('color') === 'rgb(255, 0, 0)', 'Your p element should be red.')",
+ "assert($('p').hasClass('red-text'), 'You p element should have the class \"red-text\".')"
],
"challengeSeed": [
"",
"",
- "
lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
" + "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
", + "Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
" ], "challengeType": 0 },