rayan2
September 14, 2022, 8:49pm
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 cat photos.</p>
<a href="https://freecatphotoapp.com""cat photos"/>
<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/105.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 11
Link to the challenge:
hbar1st
September 14, 2022, 9:02pm
2
Hello there.
Please Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.
rayan2
September 14, 2022, 10:06pm
3
this is the code i have written <a href=“https://freecatphotoapp.com ”“cat photos”/>
it says that i need to Your anchor (a
) element should have a closing tag. Closing tags have a /
just after the <
character. i dont undestand the question fully
Most of the elements in HTML are paired, meaning they have an opening tag and a closing tag.
For example:
// opening tag content closing tag
// | | |
<button> my button </button>
which means that your code here isn’t actually valid HTML.
system
Closed
March 16, 2023, 10:10am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.