From 9610f1faccee63b1a3b58c451d8e0fec1ad2902b Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 8 Jan 2018 11:25:00 +0200 Subject: [PATCH] fix(challenges): improved instructions for anchor element challenge Text and external links. Image was not clear in explaining the composition of anchor tags. Closes #16289 --- .../01-responsive-web-design/basic-html-and-html5.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/seed/challenges/01-responsive-web-design/basic-html-and-html5.json b/seed/challenges/01-responsive-web-design/basic-html-and-html5.json index 8a548aa2f8..c35c147bde 100644 --- a/seed/challenges/01-responsive-web-design/basic-html-and-html5.json +++ b/seed/challenges/01-responsive-web-design/basic-html-and-html5.json @@ -708,9 +708,15 @@ "description": [ "a elements, also known as anchor elements, are used to link to content outside of the current page.", "Here's a diagram of an a element. In this case, the a element is used in the middle of a paragraph element, which means the link will appear in the middle of a sentence.", - "\"a", + "\"aClick to enlarge ", "Here's an example:", - "<p>Here's a <a href=\"http://freecodecamp.org\"> link to freecodecamp.org</a> for you to follow.</p>", + "
<p>
Here's a
<a href=\"http://freecodecamp.org\">
link to freecodecamp.org
</a>
for you to follow.
</p>
", + "Let's break down the example:", + "Normal text is wrapped in the p element:
<p> Here's a ... for you to follow. </p>", + "Next is the anchor element <a> (which requires a closing tag </a>):
<a> ... </a>", + "href is an anchor tag attribute that contains the URL address of the link:
<a href=\"http://freecodecamp.org\"> ... </a>", + "The text, \"link to freecodecamp.org\", within the anchor element called anchor text, will display a link to click:
<a href=\" ... \">link to freecodecamp.org</a>", + "The final output of the example will look like this:

Here's a link to freecodecamp.org

", "
", "Create an a element that links to http://freecatphotoapp.com and has \"cat photos\" as its anchor text." ],