Tell us what’s happening:
Describe your issue in detail here.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>cat photos<a href="https://freecatphotoapp.com">Click here to view more 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
Mr.x
November 9, 2022, 9:10am
2
The Instruction : turn the words cat photos
into a link.
But you turned ‘Click here to view more cat photos.’ into a link which was not asked.
You should only turn cat photos
into a link.
sonuagnu:
</html>
so where am I supposed to put the [ a] tags?
hbar1st
November 9, 2022, 10:18am
4
See if this post helps you
Many people struggle with making an html link for the first time when that link is enclosed within a paragraph element. (Such as in step 12 of the cat photo app).
This post is meant to guide you by giving you some tips of how this is done.
To begin, we are presented with some plain text in a paragraph element such as below:
<p>This is some boring text without any links.</p>
And let us now try to turn the word -links- into a clickable link by using an anchor element.
Here goes:
<p>This is s…
system
Closed
May 10, 2023, 10:18pm
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.