No puedo pasar esta prueba

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="" 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="">
   <input type="text" placeholder="cat photo URL" required>
   <button type="submit">Submit</button>
<input type="radio"name=“indoor-outdoor">Indoor
<input type="radio"name=“indoor-outdoor">Outdoor
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36

Challenge: Create a Set of Radio Buttons

Link to the challenge:

necesitas un espacio entre los atributos.

y creo que debe colocar los botones de radio antes del botón de enviar.

Hello @JuanmaJ,

I write in English but you can translate. Your trouble is tricky because it is about the quotes type you use. Look your code:

<input type="radio"name=“indoor-outdoor">Indoor

Do you see the difference? Look the quotes you use in the name attribute. They are not the same. Use the same ones that the type attribute.

The spaces between the attributes or the positions of your radio buttons are not what’s bringing trouble to your code. Put the attributes with spaces between them and the radio buttons at a better place in your code/page is just aesthetic.

Hola @juanmaj,

Escribo en inglés pero puedes traducir. Su problema es complicado porque se trata del tipo de comillas que usa. Mira tu código:

<input type="radio"name=“indoor-outdoor">Indoor

¿Ves la diferencia? Mire las comillas que usa en el atributo de nombre. Ellos no son los mismos. Utilice los mismos que el atributo de tipo.

Los espacios entre los atributos o las posiciones de sus botones de radio no son lo que está causando problemas a su código. Poner los atributos con espacios entre ellos y los botones de radio en un lugar mejor en su código/página es simplemente estético.

Keyboard Qwerty

1 Like

Yeah, that is a tricky issue and is easy to miss. Unfortunately, sometimes cut and paste will convert them, especially if it involves a word processor.

What is even more tricky here is that it changes only the left quote but not the right. Not a long time ago, another person had a similar issue, but it was with the left and right quotes. It can still create that issue when you copy from a word processor?

1 Like

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