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

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.

1 Like

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

1 Like

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

2 Likes

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!

5 Likes

Tysm I had the same issues too

Indoor >

2 Likes

wow I was stuck on this for such a long time until I read your suggestion, and it worked!! thank you! stay smart :slight_smile:
#overthinkingbelike

been stuck on this same issue for quite sometime and i dont really understand your explanations pls can you break it down a little better. thanks

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.

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