fix(seed): Change tag nesting order (#17093)
Changed em tag to wrap around p tag Closes #17077pull/17142/head
parent
ca1e466492
commit
47e8d93ec4
|
@ -320,7 +320,7 @@
|
||||||
"description": [
|
"description": [
|
||||||
"To emphasize text, you can use the <code>em</code> tag. This displays text as italicized, as the browser applies the CSS of <code>font-style: italic;</code> to the element.",
|
"To emphasize text, you can use the <code>em</code> tag. This displays text as italicized, as the browser applies the CSS of <code>font-style: italic;</code> to the element.",
|
||||||
"<hr>",
|
"<hr>",
|
||||||
"Wrap an <code>em</code> tag around the paragraph tag to give it emphasis."
|
"Wrap an <code>em</code> tag around the contents of the paragraph tag to give it emphasis."
|
||||||
],
|
],
|
||||||
"challengeSeed": [
|
"challengeSeed": [
|
||||||
"<style>",
|
"<style>",
|
||||||
|
@ -364,7 +364,7 @@
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
"assert($('em').length == 1, 'message: Your code should add an <code>em</code> tag to the markup.');",
|
"assert($('em').length == 1, 'message: Your code should add an <code>em</code> tag to the markup.');",
|
||||||
"assert($('em').children('p').length == 1, 'message: The <code>em</code> tag should wrap around the <code>p</code> tag and its contents.');"
|
"assert($('p').children().length == 1 && $('em').children().length == 2, 'message: The <code>em</code> tag should wrap around the contents of the <code>p</code> tag but not the <code>p</code> tag itself.');"
|
||||||
],
|
],
|
||||||
"solutions": [],
|
"solutions": [],
|
||||||
"hints": [],
|
"hints": [],
|
||||||
|
|
Loading…
Reference in New Issue