Tell us what’s happening:
Describe your issue in detail here
Am lost and confused here. please I need more explanation
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p><a href= "https://freecatphotoapp.com" > click here to view more cat </a></p>
<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/103.0.5060.134 Safari/537.36 Edg/103.0.1264.77
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
Hello,
Modify the below lines of code
<p>Click here to view more <a https://freecatphotoapp.com.</p>
<a href="https://freecatphotoapp.com">cat photos</a>
into
<p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a></p>
Here, you are required to apply hyper link to the content of the paragraph element.
Initially,
<p>Click here to view more cat photos</p>
<a href="https://freecatphotoapp.com">cat photos</a>
Now, we need to apply hyper link to the “cat photos” which is present inside paragraph element
<p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a></p>
<a href="https://freecatphotoapp.com">cat photos</a>
The second anchor element is not required, so we can get rid of it
<p>Click here to view more <a href="https://freecatphotoapp.com">cat photos</a></p>
Hey @Prabhand , it is best if you don’t paste actual code solutions. We try to help them find the answers for themselves, not just give them the solution.
I apologise and will refrain from doing so in the future.
system
Closed
February 5, 2023, 4:46pm
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.