Add a radio button

i have issues on how to add a radio button and make sure on the right hand side of the radio there is a space to the text also on the right side

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
      <a href=""><img src="" alt="A cute orange cat lying on its back."></a>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
        <li>cat nip</li>
        <li>laser pointers</li>
        <img src="" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      <h3>Top 3 things cats hate:</h3>
        <li>flea treatment</li>
        <li>other cats</li>
        <img src="" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      <h2>Cat Form</h2>
      <form action="">
     <input type="radio"
     }>Indoor<input type="text" name="catphotourl" placeholder="cat photo URL" required>
        <button type="submit">Submit</button>
  **Your browser information:**

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

Challenge: Step 43

Link to the challenge:

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

So it’s asking you to create a radio button with the words Indoor as the text to the right side of the radio button. and they want this radio button in front of the url input text box. try the code above and see what it gives you

It did not pass. they want a space between the radio button and the text

correct make sure that there is space between the words indoor

space after the radio input and then it should be the word indoor then a space after that before the url text input

Thank you. It passed. worked.

No problem! Glad to help!!

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