This is my code
<id> <label> <input type="radio"> Indoor</label> </id>
And this is the error I get:
Test
Sorry, your code does not pass. Keep trying.
Hint
Your radio button should still be located between the opening and closing tags of the label element.
Link: https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-46
hbar1st
December 16, 2022, 5:14pm
2
michmile:
<id>
This is not a valid element.
They actually wanted you to add an -attribute- called id to the input element
It really helps if you say what about that error message you don’t understand.
Im Sorry I thought I added a question
hbar1st
December 16, 2022, 5:35pm
5
well technically you didn’t actually ask anything. You just posted the error message.
I interpreted that to mean you wanted help with the line of code you showed us.
In general, you will have to learn how to communicate better as your code gets harder/longer/more complex. Baby steps though…
Yep. You just posted the error message, not a question about what in the step confuses you.
system
Closed
June 17, 2023, 5:41am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.