Got stuck my first hour coding..good grief haha

Tell us what’s happening:
Okay so this is my first day trying to learn code. I have done okay so far but im stuck on this last part. Every time i run the test it says i need to make sure my A element has a closing tag. Are you not supposed to do it like this

Your code so far


<h2>CatPhotoApp</h2>
<main>
  
  
  
  <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
  
  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
<a href="http://freecatphotoapp.com"<a/>
<a href=anchor>cat photos<a/>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/link-to-external-pages-with-anchor-elements/

1 Like

Ok… lets see how we can solve this please

1 Like

watch your syntax for closing tags, especially where the / goes.

4 Likes

Is the closing tag after the anchor supposed to be a different color?

a (anchor) tags are in open and close pairs… with text with in… like this

<a href="http://www.fcc.com">visit freeCodeCamp</a>
1 Like

Also, you are missing a > on that line I quoted.