Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Commit 159203a

Browse files
Nirajn2311scissorsneedfoodtoo
authored andcommitted
fix(challenges): corrected challenge instructions
1 parent 1f06d45 commit 159203a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

challenges/01-responsive-web-design/applied-visual-design.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
"description": [
310310
"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.",
311311
"<hr>",
312-
"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>.",
312+
"Wrap the <code>u</code> tag only around the text \"Ph.D. students\".",
313313
"<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."
314314
],
315315
"tests": [
@@ -323,12 +323,6 @@
323323
"The <code>u</code> tag should wrap around the text \"Ph.D. students\".",
324324
"testString":
325325
"assert($('u').text() === 'Ph.D. students', 'The <code>u</code> tag should wrap around the text \"Ph.D. students\".');"
326-
},
327-
{
328-
"text":
329-
"The <code>u</code> tag should not wrap around the parent <code>div</code> tag.",
330-
"testString":
331-
"assert($('u').children('div').length === 0, 'The <code>u</code> tag should not wrap around the parent <code>div</code> tag.');"
332326
}
333327
],
334328
"solutions": [],

0 commit comments

Comments
 (0)