I’m struggling to create the " a " element that links to freecatphotoapp.com
Your code so far
<h2>CatPhotoApp</h2>
<main>
<a href="https://freecatphotoapp.com"> "cat photos"this links to freecodecamp.org "cat photos"</a>
<a >herf=https://freecatphotoapp<wbr>.com"> this links to freecodecamp.org</a>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
<!-- create an element that links to https://freecatphotoapp.com and has "cat photos" as its anchor text. -->
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; SM-N960U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36.
Create an a element that links to http://freecatphotoapp.com and has “cat photos” as its anchor text.
You have
<a href="https://freecatphotoapp.com"> "cat photos"this links to freecodecamp.org "cat photos"</a>
This is an a element that links to https://freecatphotoapp.com and has "“catphotos"thislinksto freecodecamp.org “cat photos”” as its anchor text. (Both the link and the text are wrong)
And you have
<a >herf=https://freecatphotoapp<wbr>.com"> this links to freecodecamp.org</a>
Which
doesn’t have an href attribute in the a element
has the wrong link
has a random <wbr> in it?
has the wrong anchor text (“herf=https://freecatphotoapp.com”> this links to freecodecamp.org")
I have that because I thought I tried everything under the sun. When I posted this help chat some some lines got altered. I tried the original “cat photos” I thought this was all that was need. It was also in the video provided.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it readable.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
‘’’
<.a href=https://freecatphotoapp.com"> “cat photos” this links to freecatphotoapp.com </.a>
I threw a dot in front of the a to see if it would appear. But this was my code, it said that is all that was required. I got 2 check marks just that final check is killing me.
" <a " so this is the a element. “Cat photos” is the anchor. The “http” is the link. Is this all that is required to complete the task that I have? So the href attribute is what creates the link? I am confident that I have it matching as of now, but it still says “I need to link it to the http.”