HTML step 15 error

Not sure what im doing wrong here. its asking for the cat image to become clickable and the preview confirms it works. but its giving me error

2  <body>
3  <main>
4 <h1>CatPhotoApp</h1>
5     <h2>Cat Photos</h2>
6     <!-- TODO: Add link to cat photos -->
7     <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
8   <a target="_blank" href=""> <img src="" alt="A cute orange cat lying on its back."> 
9    </main>
10  </body>
11 </html>

I tried copy pasting the code and it ended up doing this, woops!

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

Anchor elements need both an opening and closing tag.