Help I'm stuck in Building a Cat Photo App Step 61

I have tried many time to put checked in first radio but still error somewhere make me so confused!

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.

thanks you I have written a question also you can read it exactly in the code pic. Help ! I’m stuck there few days already :(( many thanks

1 Like

Please post your actual code instead of a picture. Also please post a link to the challenge. The Ask for Help button does this automatically.

1 Like

I just tried to share the link in this post Help I'm stuck in Building a Cat Photo App Step 61
I think this is first time I press help button but not login before that make the link disappear.

I see zero link in the first post.

It is really hard to read that picture. Please make it easy for us to help you. Please post your actual code.

Slow down and read that last sentence. What is it asking you to do?

it asks me to put checked element in “input” element in first radio but I have tried many time still incorrect

I’ve edited your code 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 (').

Please copy and paste your code in the next reply you make so we can review it. Here are instructions on how to make sure code is formatted correctly in the forum.

1 Like

question Step 61

In order to make a checkbox checked or radio button selected by default, you need to add the checked attribute to it. There’s no need to set a value to the checked attribute. Instead, just add the word checked to the input element, making sure there is space between it and other attributes.

Make the first radio button and the first checkbox selected by default.

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

Where is the first checkbox? You only have the radio button checked above.

1 Like

thanks you so much they said add to checkbox and radio I have forgot one of them. I have done it thank you everyone to patient with me!

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