Learn HTML by Building a Cat Photo App - Step 44

The button is appearing on the front end but I am struggling with understanding what I am being asked to do, I have created the radio button set as indoor but it’s not passing, do I need to nest it?

Your code so far

  <section>
    <h2>Cat Form</h2>
    <form action="https://freecatphotoapp.com/submit-cat-photo">   
    <button><input type="radio">Indoor</button>
    <input type="text" name="catphotourl" placeholder="cat photo URL" required>
      <button type="submit">Submit</button>
    </form>
  </section>
</main>
```

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0

Challenge: Learn HTML by Building a Cat Photo App - Step 44

Link to the challenge:

4 Likes

when you restart the step you will see that you are presented with one line of code in the editor

<input type="text" name="catphotourl" placeholder="cat photo URL" required>

and the instructions say:

Before the text input, add a radio button with the option set as:

Indoor

They also gave you an example to use:

<input type="radio"> cat

So if you just do exactly what this example is doing (but replace Cat with Indoor) and if you place this code where they asked for it, then you will be done.

5 Likes
Mod edit: solution removed

Thank you for the tip!

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

3 Likes

I totally agree, it’s really important that I deconstruct my error to find the solution, through understanding that, for example in this problem, I overengineered my input. I can’t come to that solution, of pulling back to basics, if I’m just given the answer. The answer isn’t really the issue, it’s understanding my method as I come to that conclusion that matters most.

this step is a trick of words … i kept adding
< `<input type="radio… and did not worked…
Dont add button

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