src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg
What did I do wrong on step 8
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
<!-- User Editable Region -->
<img> src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg
<!-- User Editable Region -->
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/127 Version/11.1.1 Safari/605.1.15
There are 2 things you should fix.
First, you forgot to write the matching ending quote " for the src attribute.
Second, you need to move the img tag’s closing > to the end of this line.
This will enclose the attribute into the tag.
HTML attributes should always go inside the opening tag of the element. Whilst most elements have an opening and closing tag, the img element only has a single tag. Put a space after the tag name (i.e. img) then the attribute, then the closing angle bracket of the tag (>).