Tell us what’s happening:
Describe your issue in detail here.
how to add link to the code
**Your code so far**
<!-- TODO: Add link to cat photos -->
<p <a href="https://freecatphotoapp.com">Click here to view more cat photos.</a></p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
**Your browser information:**
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
The paragraph element has a closing > on both the opening and closing tags.
yes, but the code seems not to be correct
look carefully at your opening paragraph tag
please assist me in writing the correct code instead
I would love to. The moderators tell me not to. It should look similar to your h2 tag.
it did not work, please take proper look at the code and tell me what the challenge is
HI @eyehifeanyichukwu !
Welcome to the forum!
Here is the syntax error the @jsunh98 is pointing out to you
But aside from that, you are trying to turn the whole sentence into a link which is incorrect.
The directions only want the words cat photos to be a link.
When you have the correct code, your result in the preview window should look like this
I would suggest resetting the lesson and making sure to only wrap the anchor tags around the word cat photos.
Hope that helps!
done, same result…any other correction
Please post your new code so we can see the changes you made
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (
</>) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.