KCFLEX
June 14, 2022, 5:33pm
1
Here’s the link to my code :
[https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-43 ]
here is the code itself:
<input type="text" name="catphotourl" placeholder="cat photo URL" required><input type="radio"> Indoor
I’ve edited your post 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 (’).
The instructions for step 43 say, “Before the text input, add a radio button with the option Indoor.”
Try swapping the two input tags in your code.
KCFLEX
June 14, 2022, 5:48pm
4
i’m sorry i didn’t quite understand what you mean’t could you show me an example
Here’s your current code:
<input type="text" name="catphotourl" placeholder="cat photo URL" required />
<input type="radio" />
Indoor
Here’s what it’s asking for:
<input type="radio" />
<input type="text" name="catphotourl" placeholder="cat photo URL" required />
Indoor
I just swapped the two input tags because it wants to see the radio button before the text box.
KCFLEX
June 14, 2022, 6:14pm
6
thanks so much i have seen the problem
1 Like
system
Closed
December 14, 2022, 6:14am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.