Help h am confused on how to do this

Help h am confused on how to do this
0

#1

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
  
  
  
  <img src<a href="https://bit.ly/fcc-"cat photos" alt="A cute orange cat lying on its back."></a>
  
  <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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements


#2

you are asked to

Create an a element that links to http://freecatphotoapp.com and has “cat photos” as its anchor text.

and you are given some html to edit that starts with these lines

<h2>CatPhotoApp</h2>
<main>
  
  
  
  <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">

You see how they left some blank lines between the <main> and the next tag <img... ?
This is a hint for you. The new code should go on one of those blank lines (for eg. just under <main>)

Ok, so please click the ‘reset’ button so the code is reset back to start and add your new a tag in the blank line provided.

To create a proper a tag, you will need something like this

<a href="this is the link">this is the visible text for me to click on</a>

Carefully examine the line to understand how it is put together and try the challenge again after you reset the code.
Let us know how you are doing…