Set of 3 checkboxes - Cat App

Cat App - Set of 3 Checkboxes -I have gone over this and over this and cannot figure out why it is not accepted. The preview shows it as correct.

  Between <form <label for=“loving”…through Cute</label> </form>


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

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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">
  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
<form <label 
for="loving"><input id="loving" type="checkbox" name="personality"> 
Loving</label>
<label 
for="playful"><input id="playful" type="checkbox"
name="personality"> 
Playful</label>
<label 
for="cute"><input 
id="cute" type="checkbox"
name="personality">
Cute</label> 
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 14_8_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1

Challenge: Create a Set of Checkboxes

Link to the challenge:

Hello @BethB

You are missing the closing angle bracket in one of your HTML elements.

BTW you don’t need to create a new form element, placing those 3 checkboxes in the existing form will pass the test.

Here there us something missing

But also you need to have only one form element that includes all elements

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