it is saying that it is still wrong and my teacher said that the code was right
See more <a href =https://cat photos.com in our gallery.
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<!-- User Editable Region -->
<p>See more <a href =https://cat photos.com</a> in our gallery.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
<!-- User Editable Region -->
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
The anchor element needs to nest the target words in the paragraph element.
Please reset the step to restore the original code.
Then place the opening anchor tag before the word cat in the paragraph element.
Then close the new element by placing the closing anchor element after the word photos.
Don’t forget the href attribute property value needs to be in quotes.
Use the full website address from the instructions.
Remove the space before the equals sign.
Let your teacher know the following is not correct syntax:
Attribute properties need to be nested in quote marks.
URLs with whitespace characters are not recommended as they could cause issues when site visitors share or link to the URL, potentially leading to broken links and a loss of potential link equity.
Here is an article explaining how to link text and images inside nested elements you may find helpful.