How to add id for Step 45 of HTML CatPhoto App

Hi guys! I don’t understand where to place the id attribute with the value “indoor” for the radio button. For reference, here are the instructions for step 45:

The id attribute is used to identify specific HTML elements. Each id attribute’s value must be unique from all other id values for the entire page.

Add an id attribute with the value indoor to the radio button. When elements have multiple attributes, the order of the attributes doesn’t matter.

Any help would be appreciated. Thank you!

<label><input type="radio" id="Indoor"> Indoor</label>

It’s hard to help without seeing the code that you wrote.


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.

Sorry I thought that I already added the code.

1 Like

HI @edwinibon90210 !

Welcome to the forum!

Can you edit your post to add the code?

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 (’).

Thank you for showing me this! I appreciate it! I just took a screenshot before I knew how to add the code.

I edited your post to include the challenge link.

The issue is here

Please reread the directions here more carefully

Hint: you have a capitalization error

Hope that helps!

1 Like