I can't seem to create radio buttons in the task given. Except only when i copy and paste. I think there's something wrong with my syntax but i can't spot it?

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 9; SM-G965F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Hey victormbonu6,
Welcome! I can’t see any code for the radio buttons inside your form tag so can’t comment on syntax. Can you share the code you’ve tried for the buttons? You mentioned copy and paste working and that isn’t a bad way to go if you’re copying the example code from the exercise. Then you can adjust it or expand on it to fit what the task is asking you to do.

I actually figured it out. I was coding with phone but when I tried it on my PC, it worked

1 Like

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