diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json
index 8f4d50688e8..dd381d95393 100644
--- a/seed/challenges/html5-and-css.json
+++ b/seed/challenges/html5-and-css.json
@@ -376,11 +376,11 @@
"title": "Use CSS Selectors to Style Elements",
"description": [
"With CSS, there are hundreds of CSS properties
that you can use to change the way an element looks on your page.",
- "When you entered <h2 style=\"color: red\">CatPhotoApp</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 CSS
, which stands for Cascading Style Sheets
",
+ "When you entered <h2 style=\"color: red\">CatPhotoApp</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 CSS
, which stands for Cascading Style Sheets
.",
"At the top of your code, create a style
element like this:",
- "<style>
",
- "</style>
",
+ "<style>
",
+ "</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;}
",
@@ -392,7 +392,7 @@
"assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your h2
element.')",
"assert($(\"style\") && $(\"style\").length > 1, 'Create a style
element.')",
"assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your h2
element should be blue.')",
- "assert(editor.match(/h2\\s*\\{\\s*color\\s*:\\s*blue;\\s*\\}/g), 'Ensure that your stylesheet h2
declaration is valid with a semicolon and closing brace')",
+ "assert(editor.match(/h2\\s*\\{\\s*color\\s*:.*;\\s*\\}/g), 'Ensure that your stylesheet h2
declaration is valid with a semicolon and closing brace.')",
"assert(editor.match(/<\\/style>/g) && editor.match(/<\\/style>/g).length === (editor.match(/