Tell us what’s happening:
Please provide an example of the anchor element in my code to make the necessary adjustments, thanks.
Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Everyone loves cute cats online!</p>
<!-- User Editable Region -->
<a href="https://freecatphotoapp.com">cat photos in our gallery></a>
<!-- User Editable Region -->
<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/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 12
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-12`Preformatted text`
Hi there!
You need to add anchor opening and closing tags around cat photos
words, not the all words.
Can you show me an example of solution?Preformatted text
Example
<a href="link">clickable text</a>
Now Read the challenge instructions carefully, and try again.
Hi !! I can suggest you to write your code like this: “
cat photos in our gallery
”
(remove the p element if it is not in your challenge I added it to clarify more the meaning of the code)
type or paste code here
See more <a href="https://freecatphotoapp.com">cat photos in our gallery</a>
No, Reset the challenge step to restore the original code. Then carefully copy the words See more
and paste it before the anchor a
opening tag and then copy the words in our gallery
and paste it after the anchor closing tag.
Did you know which are anchor opening and closing tags?
That’s anchor tags:
<a href="link"> /* this is opening anchor tag */
</a> // this is closing anchor tag
your didn’t have your code in above post here
See more cat photos in our gallery cat photos in our galleryPreformatted text
type or paste code here
```My bad it's one of them hiccups lol, thanks anyways! I was overcomplicating everything.
1 Like
ILM
December 1, 2024, 4:41pm
13
you need to have a line that has only three backticks above the code you want to display, and a line with only three backticks below your code, like this:
```
your code here
```