Step 61 Hello, where is the mistake, please

The error is tell you what is wrong. You are not using the checked attribute in the first checkbox. You can read about it here, and see how it is used

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button 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.

Sorry, I’m dumb, where the first checkbox on screenshot above and below

Ok, good you fixed that. The first checkbox is the very first type=checkbox in your code, and looks like you added it correctly. Now look at the new error it is giving you, you are still missing a checked attribute

Please post your actual code instead of pictures of the code. Thanks

Tell us what’s happening:
Describe your issue in detail here.

Your code so far
Please, where’s the mistake?

        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="">cat photos</a> in our gallery.</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="">

<!-- User Editable Region -->

            <legend>Is your cat an indoor or outdoor cat?</legend>
            <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> 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" name="personality" value="loving" > <label for="loving">Loving</label>
            <input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
            <input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic"> Energetic</label>

<!-- User Editable Region -->

          <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/ Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 61

Link to the challenge:

“Please, wheres the mistake?”
We need more to go on to help you. Please let us know what you are having problems with. What errors are you getting?

This is a bug in your program because in Task 62, the solution is the same as in my screenshot 61, and the code doesn’t work, please correct. I don’t ok 61

I am not just going to give you the answer if thats what you are looking for. Thats not what we do here, we can help you figure out the problem but we dont just give out solutions.

The challenge is asking you “Make the first radio button and the first checkbox selected by default.”

I have already linked you the article that shows how to use the checked attribute. What errors are you getting when you try and submit the challenge? you need to have both your first radio and checkbox input checked. You make them checked by using the checked attribute, you can look at the article I linked to see how its done.

Edit: I see your first radio is checked, now complete the requirements by having the first checkbox have the checked attribute as the challenge says

1 Like

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