<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more <a href="https://freecatphotoapp.com" target="_blank">cat photos</a> in our gallery.</p>
<a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
</main>
</body>
</html>
So if I am seeing your code correctly, you just have a tiny error. The img tag that you have inside your a tag is missing the / before its closing “>” character.
See if this helps!
I figured it out. I was typing instead of at the ending. In the code i submitted there is no error because i wrote it in vscode and the autofilling did its job. However, i was miswriting it in the file of the webpage. Anyways, thx for your reply.
Glad you found the bug!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.