diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md index fc1474fcc8..faf7071815 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md @@ -47,8 +47,7 @@ You should have an `a` element that links to "`https://freecatphotoapp.com`". ```js assert( - $('a[href="https://freecatphotoapp.com"]').length > 0 || - $('a[href="http://www.freecatphotoapp.com"]').length > 0 + $('a[href="https://freecatphotoapp.com"]').length > 0 ); ``` @@ -72,8 +71,7 @@ Your `a` element should be nested within your new `p` element. ```js assert( - $('a[href="https://freecatphotoapp.com"]').parent().is('p') || - $('a[href="http://www.freecatphotoapp.com"]').parent().is('p') + $('a[href="https://freecatphotoapp.com"]').parent().is('p') ); ``` @@ -84,11 +82,7 @@ assert( $('a[href="https://freecatphotoapp.com"]') .parent() .text() - .match(/View\smore\s/gi) || - $('a[href="http://www.freecatphotoapp.com"]') - .parent() - .text() - .match(/View\smore\s/gi) + .match(/View\smore\s/gi) ); ```