THERE IS DEFINITELY AN ERROR ON THIS QUESTION.
My code is definitely right. I read the instructions carefully and I did exactly what the question asked me to do. The name attribute is “indoor-outdoor” so that should have at least checked off as correct, but nothing is checked as correct, NOT EVEN THE FACT THAT I PUT THE BUTTONS INSIDE THE FORM.
Does anyone know how to fix this error or get around it? At the very bottom of the “test” window is says
$(…).parent(…).get is undefined.
Does this have anything to do with it? What does it mean?
My code so far
<h2>CatPhotoApp</h2> <main> <p>Click here to view more <a href="#">cat photos</a>.</p> <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a> <p>Things cats love:</p> <ul> <li>cat nip</li> <li>laser pointers</li> <li>lasagna</li> </ul> <p>Top 3 things cats hate:</p> <ol> <li>flea treatment</li> <li>thunder</li> <li>other cats</li> </ol> <form action="/submit-cat-photo"> <lable for="indoor"> <input id="indoor" type="radio" name="Indoor-Outdoor">Indoor </lable> <lable for="outdoor"> <input id="outdoor" type="radio" name="Indoor-Outdoor">Outdoor </lable> <input type="text" placeholder="cat photo URL" required> <button type="submit">Submit</button> </form> </main>
My browser information:
User Agent is:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0.