Learn HTML by Building a Cat Photo App - Step 49 i dont understan this step

i am not quite sure on where and what to add the “value”

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Please do not replace the generated template with a screenshot, the infos included (the code, the link to the step) are useful for who’'s helping you

An attribute always goes inside the opening tag of an element. Does this make any sense to you?
The buttons live inside the <input></input> element, therefore this attribute value has to be placed there. Be mindful of the play with words, the attribute name is value but the value of it, is something else.

2 Likes

oh i am really sorry , i thought it was quite annoying for other to find where i am facing the issue , wont happen again <3 :crossed_fingers:


i tried just what u said , but i am not quite sure T-T

also it mentioned that “input” is selfclosing

Remove the extra space after the context Indoor and Outdoor and give it another try. Leave the space in front.

1 Like

tysm once again :sparkles: :sparkles: :sparkles: :sparkles:

also how many dubts can i post per day ?

I am not aware of any limit, but I would suggest you take your time understanding the concepts more than resolving the objectives tasks. That’s my opinion.

3 Likes

U can put the value attribute any where as long as it is in the input element , do for both of them so on line 36 after radio u could put value=“indoor” because your id for that one is indoor and 37 ofc would be value=“outdoor” the purpose of the value element is too retrieve from similair elements so when you get deeper to coding then you can retrieve using values or id’s

1 Like