Esunam
August 22, 2019, 4:28pm
1
Anyone here that can put more light on this for. Thanks
You need an a
element that links to “http://freecatphotoapp.com ”.
Passed
Your a
element should have the anchor text of “cat photos”
Create a new p
element around your a
element. There should be at least 3 total p
tags in your HTML code.
Your a
element should be nested within your new p
element.
Your p
element should have the text "View more " (with a space after it).
Passed
Your a
element should not have the text “View more”.
Passed
Make sure each of your p
elements has a closing tag.
Passed
Make sure each of your a
elements has a closing tag.
Provide us a link to the challenge please.
Additionally, please provide your code) This will help a lot, I will see what are you doing wrong.
Esunam
August 22, 2019, 4:47pm
5
I don’t even know what to do
Create an a
element that links to http://freecatphotoapp.com
and has “cat photos” as its anchor text
.
Example:
<a href="https://freecodecamp.org">this links to freecodecamp.org</a>
Esunam
August 22, 2019, 4:48pm
7
Explain more and give examples
Esunam
August 22, 2019, 4:51pm
8
Which one is anchor text here
this links to freecodecamp.org
“this links to freecodecamp.org ”.
The anchor element tag is the letter “a” surrounded by angle brackets like this: <a>
. Both the opening and closing attributes are required, and all of the content between the tags makes up the anchor source.
If we want to use just a single word as an anchor, we
wrap just that one <a>word</a> in anchor tags.
Hope this will help you:
<a href="https://freecodecamp.org">this links to freecodecamp.org</a>
the value of href attribute is the ANCHOR LINK
the value between the opening <a>
and closing </a>
is the ANCHOR TEXT
now just follow this instructions from the challenge and complete the task
Create an a
element that links to http://freecatphotoapp.com
and has “cat photos” as its anchor text
.
The example is very clear.
1 Like