Skip to content

Commit

Permalink
fix(challenges): corrected challenge instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirajn2311 authored and scissorsneedfoodtoo committed Aug 8, 2018
1 parent 1f06d45 commit 159203a
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
"description": [
"To underline text, you can use the <code>u</code> tag. This is often used to signify that a section of text is important, or something to remember. With the <code>u</code> tag, the browser applies the CSS of <code>text-decoration: underline;</code> to the element.",
"<hr>",
"Wrap the <code>u</code> tag around the text \"Ph.D. students\". It should not include the parent <code>div</code> that has the class of <code>cardText</code>.",
"Wrap the <code>u</code> tag only around the text \"Ph.D. students\".",
"<strong>Note</strong><br>Try to avoid using the <code>u</code> tag when it could be confused for a link. Anchor tags also have a default underlined formatting."
],
"tests": [
Expand All @@ -323,12 +323,6 @@
"The <code>u</code> tag should wrap around the text \"Ph.D. students\".",
"testString":
"assert($('u').text() === 'Ph.D. students', 'The <code>u</code> tag should wrap around the text \"Ph.D. students\".');"
},
{
"text":
"The <code>u</code> tag should not wrap around the parent <code>div</code> tag.",
"testString":
"assert($('u').children('div').length === 0, 'The <code>u</code> tag should not wrap around the parent <code>div</code> tag.');"
}
],
"solutions": [],
Expand Down

0 comments on commit 159203a

Please sign in to comment.