fix(challenges): corrected challenge instructions

This commit is contained in:
Niraj Nandish
2018-08-08 13:27:00 +04:00
committed by Kristofer Koishigawa
parent 1f06d45bbd
commit 159203aa68

View File

@ -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": [
@ -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": [],