Learn HTML by Building a Cat Photo App - Step 64

Tell us what’s happening:
Hello again–I have been going at this multiple ways for several hours and am royally stuck. Is it just the wording I used? Thanks in advance!

Your code so far

        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
          <li>cat nip</li>
          <li>laser pointers</li>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
          <figcaption>Cats <em>love</em> lasagna.</figcaption>  
        <h3>Top 3 things cats hate:</h3>
          <li>flea treatment</li>
          <li>other cats</li>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
          <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
        <h2>Cat Form</h2>
        <form action="https://freecatphotoapp.com/submit-cat-photo">
            <legend>Is your cat an indoor or outdoor cat?</legend>
            <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
            <label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
            <legend>What's your cat's personality?</legend>
            <input id="loving" type="checkbox" name="personality" value="loving" checked> <label for="loving">Loving</label>
            <input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
            <input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic">Energetic</label>
          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="submit">Submit</button>

<!-- User Editable Region -->

<a href="freeCodeCamp.org" </a> 
     No Copyright - <a https://www.freeCodeCamp.org /a>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 64

Link to the challenge:

Ok so it’s asking you to enclose text for a link
So after your initial a element. But before the a closing tag insert your text for the link

(a href=“” )text goes here(/a)
Switch () for <> of course

I think it’s this line that needs to be adjusted w the text inside the a element
“ a href=“https://freecatphotoapp.com”>img src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg” alt=“A cute orange cat lying on its back.”></a”

Still nothing. I altered that earlier line of code but it didnt change anything. It’s in the last line:
<a “freeCodeCamp.org” href=“https://www.freecodecamp.org” No Copyright - freeCodeCamp.org

That’s what I’ve attempted most recently. Do you see any glaring problems? and thank you for the assistance!

I see an error where you did not close the tag for one of the elements. Nor is there any text in which to link

The first A element needs a closing >
As does the second

1 Like

The original code shown to you in the editor was just some plain text (which has 3 words in it)

No Copyright - freeCodeCamp.org

What they want is for you to make the third word into a link.
That means you should use the anchor tags around that last word to do so.

1 Like

Thank you both. I think i just kept staring at the instructions and the problem until I couldnt see the answer right in front of me!


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.