Tell us what’s happening:
Describe your issue in detail here.
Can someone help me with this? Thanks
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href:"cat photos".</a> </p>
<a href="https://freecatphotoapp.com">link to cat pictures</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/108.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
The instruction: " In the text of your p
element, turn the words cat photos
into a link to https://freecatphotoapp.com
by adding opening and closing anchor (a
) tags around these words."
<p>Text <a href="url">text</a>.</p>
‘url’ is https://freecatphotoapp.com
Restart step, and read carefully the challenge.
I tried to substitute the words “cat photos” with that link and used (a) anchor on both sides. but still doesn’t work.
<p>Click here to view more <a href:"https://freecatphotoapp.com".</a></p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>
Your code now:
<p>Click here to view more <a href:"https://freecatphotoapp.com".</a></p>
One more time:
<p>First part of the text <a href="https://freecatphotoapp.com">cat photos</a>.</p>
You don’t have to substitute, but change the position of the text “cat photos” and “.”
system
Closed
June 7, 2023, 1:45am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.