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 4f1543285e..85199160ef 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 @@ -13,7 +13,7 @@ You can nest links within other text elements. ```html

- Here's a link to freecodecamp.org for you to follow. + Here's a link to freecodecamp.org for you to follow.

``` @@ -32,18 +32,18 @@ Next is the *anchor* element `` (which requires a closing tag ``): `target` is an anchor tag attribute that specifies where to open the link. The value `_blank` specifies to open the link in a new tab. The `href` is an anchor tag attribute that contains the URL address of the link: ```html - ... + ... ``` The text, `link to freecodecamp.org`, within the `a` element is called anchor text, and will display the link to click: ```html -link to freecodecamp.org +link to freecodecamp.org ``` The final output of the example will look like this: -Here's a [link to freecodecamp.org](http://freecodecamp.org) for you to follow. +Here's a link to freecodecamp.org for you to follow. # --instructions-- @@ -59,11 +59,11 @@ assert( ); ``` -The `a` element should link to "`https://freecatphotoapp.com`". +The `a` element should link to "`https://www.freecatphotoapp.com`". ```js assert( - $('a[href="https://freecatphotoapp.com"]').length === 1 + $('a[href="https://www.freecatphotoapp.com"]').length === 1 ); ``` @@ -87,7 +87,7 @@ Your `a` element should be nested within your new `p` element. ```js assert( - $('a[href="https://freecatphotoapp.com"]').parent().is('p') + $('a[href="https://www.freecatphotoapp.com"]').parent().is('p') ); ``` @@ -95,7 +95,7 @@ Your `p` element should have the text `View more ` (with a space after it). ```js assert( - $('a[href="https://freecatphotoapp.com"]') + $('a[href="https://www.freecatphotoapp.com"]') .parent() .text() .match(/View\smore\s/gi) @@ -140,7 +140,7 @@ assert(

CatPhotoApp

- cat photos + cat photos A cute orange cat lying on its back. @@ -154,7 +154,7 @@ assert( ```html

CatPhotoApp

-

View more cat photos

+

View more cat photos

A cute orange cat lying on its back.