delo
1
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> <a href= "https://freecatphotoapp.com"</>
</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/15.3 Safari/605.1.15
Challenge: Step 14
Link to the challenge:
udaaff
2
You need to wrap your image in the <a>
element with appropriate url
delo
3
it still says its wrong because its saying put one opening a tag and I did that keep saying its wrong
udaaff
4
I can only guess without seeing your current code.
delo
5
Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com
as the anchor’s href
attribute value.
.<a href= “https://freecatphotoapp.com”</>
udaaff
6
This one element
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
needs to be surrounded with <a>
element like <a href="url needed">your image element goes here</a>
delo
7
udaaff
8
This is your image element.
This syntax is incorrect.
<a href='url'>your image element</a>
delo
9
this what it say when I did that
Your anchor (a
) element should link to https://freecatphotoapp.com
. You have either omitted the URL or have a typo.
udaaff
10
Use https://freecatphotoapp.com
as the anchor’s href
attribute value.
You need to set up the proper value <a href="url required goes here"><img
system
Closed
11
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.