diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json index f61dda84d3..32d5ea5d07 100644 --- a/challenges/01-responsive-web-design/applied-visual-design.json +++ b/challenges/01-responsive-web-design/applied-visual-design.json @@ -322,7 +322,7 @@ "description": [ "To underline text, you can use the u tag. This is often used to signify that a section of text is important, or something to remember. With the u tag, the browser applies the CSS of text-decoration: underline; to the element.", "
", - "Wrap the u tag around the two anchor tags. It should not include the parent div that has the class of cardLinks.", + "Wrap the u tag around the text \"Ph.D. students\". It should not include the parent div that has the class of cardText.", "Note
Try to avoid using the u tag when it could be confused for a link. Anchor tags also have a default underlined formatting." ], "challengeSeed": [ @@ -366,9 +366,9 @@ "" ], "tests": [ - "assert($('u').length == 1, 'message: Your code should add a u tag to the markup.');", - "assert($('u').children('a').length == 2, 'message: The u tag should wrap around and contain the two a tags.');", - "assert($('u').children('div').length == 0, 'message: The u tag should not wrap around the parent div tag.');" + "assert($('u').length === 1, 'message: Your code should add a u tag to the markup.');", + "assert($('u').text().indexOf('Ph.D. students') > -1, 'message: The u tag should wrap around the text \"Ph.D. students\".');", + "assert($('u').children('div').length === 0, 'message: The u tag should not wrap around the parent div tag.');" ], "solutions": [], "hints": [], @@ -415,13 +415,11 @@ "
", "
", "

Google

", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", "
", "" @@ -475,13 +473,11 @@ "
", "
", "

Google

", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", "
", "" @@ -538,13 +534,11 @@ "
", "

GoogleAlphabet

", " ", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", " ", "" @@ -605,13 +599,11 @@ "
", "

Alphabet

", "
", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", " ", "" @@ -669,13 +661,11 @@ "
", "

Alphabet

", "
", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", " ", "" @@ -737,13 +727,11 @@ "
", "

Alphabet

", "
", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", " ", "" @@ -808,13 +796,11 @@ "
", "

Alphabet

", "
", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", " ", "" @@ -877,13 +863,11 @@ "
", "

Alphabet

", "
", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", " ", "" @@ -960,13 +944,11 @@ "
", "

Alphabet

", "
", - "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", + "

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

", "
", "
", - " ", - " Larry Page

", - " Sergey Brin", - "
", + " Larry Page

", + " Sergey Brin", "
", " ", ""