Help in step 55 catapp

It keeps saying that my text should be nested in the label element what should I do ?

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
      <a href=""><img src="" 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="" 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="" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      <h2>Cat Form</h2>
      <form action="">
          <legend>Is your cat an indoor or outdoor cat?</legend>
          <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> 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"> <label for="loving"></label>
        <input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button type="submit">Submit</button>
  **Your browser information:**

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

Challenge: Step 55

Link to the challenge:

You need to have the text Loving in your label

I’ve tried that it doesn’t work

Whats your code now?

I had asked you to add Loving as the text in the loving label.

Can you please just type where to add loving? I’m having the same problem and I am about to pull my hair out.

Where the heck do I put Loving? between <label loving for=“loving”? or after for=“loving”>loving ? This is driving me insane. Is that whole code above wrong somehow? because I had the exact same thing before I found this thread

1 Like

We have a strict policy against writing answers for users.

You need to put the label text Loving between the opening and closing label tags.

I just got it… wow like 30 min of stress over a tiny detail. Big hint for everyone else, the ‘L’ in loving in the for attribute must be lowercase and the Loving nested in the label element must be uppercase.

The for attribute needs to be placed with in the first label element

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