Got a few errors, but i dont see the problem

// running tests

Your page should have three checkbox elements.
Each of your three checkbox elements should be nested in its own label element.
Your checkboxes should be given the name attribute of personality.

// tests completed

<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>

  <a href="#"><img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
  <form action="https://www.freecatphotoapp.com/submit-cat-photo">

    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>

<label for="loving"><input id="loving" type="radio" name="personality"> Cats</label>
<label for="loving"><input id="loving" type="radio" name="personality"> Dogs</label>
<label for="loving"><input id="loving" type="radio" name="personality"> Other</label>

  </form>
    
</main>

Hello,
type should be checkbox NOT radio.

1 Like

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