diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json
index 2cd296e3c6..52a12506ab 100644
--- a/challenges/html5-and-css.json
+++ b/challenges/html5-and-css.json
@@ -557,16 +557,15 @@
"Font size is controlled by the font-size
CSS property, like this:",
"h1 {
",
" font-size: 30px;
",
- "}",
- "See if you can figure out how to give both of your p
elements the font-size of 16 pixels (16px
). You can do this inside the same <style>
tag that we created for your red-text
class.",
+ "}
",
"Create a second p
element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
",
- "Then, inside your <style>
element, set the font-size
of all p
elements to 16 pixels."
+ "Inside the same <style>
tag that we created for your red-text
class, set the font-size
of all p
elements to 16 pixels (16px
)."
],
"tests": [
"assert($(\"p\").length > 1, 'You need 2 p
elements with Kitty Ipsum text.')",
"assert(editor.match(/<\\/p>/g) && editor.match(/<\\/p>/g).length === editor.match(/
p elements has a closing tag.')",
"assert.isTrue((/Purr\\s+jump\\s+eat/gi).test($(\"p\").text()), 'Your p
element should contain the first few words of the provided additional kitty ipsum text
.')",
- "assert($(\"p\").css(\"font-size\") === \"16px\", 'Give elements with the red-text
class a font-size
of 16px.')"
+ "assert($(\"p\").css(\"font-size\") === \"16px\", 'Give elements with the p
tag a font-size
of 16px
.')"
],
"challengeSeed": [
"