Responsive web design to solve problems

<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>

      <label for="loving"><input id= "loving"type="checkbox" name="personality">loving</label>

      <label for="gfdf"><input id= "5343"type="checkbox" name="personality">afdf</label>

      <label for="dad"><input id= "5434"type="checkbox" name="personality">dad</label>

  </form>

</main>

Make sure each of your label elements has a closing tag.
There seems to be no mistake, but it just can’t pass

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

In the future, If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.


I think you’re working on the create a set of radio buttons challenge.
If so, you were tasked with creating two and the parameters were set for you. The first one partially meets the requirements but the name attribute is incorrect.
Use the ‘Reset All Code’ button to start this challenge from the beginning being careful to follow the instructions.