Tell us what’s happening:
Describe your issue in detail here.
I don’t know what this mean.
Step 12
Turn the words cat photos
located inside p
element into a link by replacing the words with the anchor element added previously. The p
element should show the same text in the browser, but the words cat photos
should now be a link. There should only be one link showing in the app.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more cat photos.</p>
<a href="https://freecatphotoapp.com">cat photos</a>
<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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36
Challenge: Step 12
Link to the challenge:
Instead of having a separate line with :
<a href="https://freecatphotoapp.com">cat photos</a>
Include the anchor inside the paragraph:
Mod Edit: SOLUTION REDACTED
still not working. could you give me correct answer again?
2 Likes
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
1 Like
Mod Edit: SOLUTION REDACTED
use this, to solve the problem this will help you to proceed
remove your a tag
and inside your p tag where cat photos text start just before that add this anchor tag to make it a link
1 Like
… I literally just asked another user not to post solutions immediately above this post were you gave the solution. No. Please don’t.
1 Like
What part in the instruction do you not understand? What have you tried?
Understood. Thanks for sharing.
Here is the below code :
Mod Edit: SOLUTION REDACTED
Please do not write solutions for other users, as said repeatedly above. Thanks