I need help, anyone here to help me out?

*<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">
    <label for="loving"><input id="loving" type="checkbox" name="personlity">Personality</label>
    <label for="loving"><input id="loving" type="checkbox" name="personlity">Personality</label>
    <label for="loving"><input id="loving" type="checkbox" name="personlity">Personality</label>
    <br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
 
  </form>
</main>

Your checkboxes should be given the name attribute of personality .

Which I did, but my test keep giving error.

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.


Guessing about which lesson this is but if it’s the one I’m thinking of you were tasked with adding a set of three checkboxes.
Revisit the lesson. While related checkboxes will have the same name attribute there are things that must be different. For instance, you learned in a previous lesson that an id must be unique.
You also wouldn’t create three checkboxes with the same label would you? The user wouldn’t have anything to choose from.

It also seems like you’ve deleted the radio buttons that were created during the previous lesson.

Reset the lesson (click the ‘reset all code’ button) and follow the instructions. Be careful to only add what is asked and do not delete anything.

Okay, let try it and see

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