Merge pull request #7146 from NolanChan/fix/use-spans-for-inline-elements
Fixed example code in Use-Spans-for-Inline-Elements Challenge
This commit is contained in:
@ -868,7 +868,7 @@
|
||||
"By using the <code>span</code> element, you can put several elements together, and even style different parts of the same element differently.",
|
||||
"Nest the word \"love\" in your \"Things cats love\" element below within a <code>span</code> element. Then give that <code>span</code> the class <code>text-danger</code> to make the text red.",
|
||||
"Here's how you would do this with the \"Top 3 things cats hate\" element:",
|
||||
"<code><p>Top 3 things cats <span class = \"text-danger\">hate</span></p></code>"
|
||||
"<code><p>Top 3 things cats <span class = \"text-danger\">hate:</span></p></code>"
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<link href=\"http://fonts.googleapis.com/css?family=Lobster\" rel=\"stylesheet\" type=\"text/css\">",
|
||||
|
Reference in New Issue
Block a user