Tell us what’s happening:
Describe your issue in detail here.
I tried an anchor a wothin the p element but it don’t seems to work Iam doing somethink wrong please help
Your code so far
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href="cat photos"</a>
<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.">
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/18.104.22.168 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 12
Link to the challenge:
You are almost there. This is the same as previous task.
Hint: you have typo
hi there, your anchor element is not correctly formed.
The href attribute is supposed to contain the location of the website that the link ‘links’ to.
cat photos is meant to be the text of the anchor.
You also are missing the period that was at the end of the sentence.
I wrote a post explaining how to create links within paragraphs that you may find helpful
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.
<p>This is s…
Thanks a lot for taking the time