Please help I cant get to the next step

Tell us what’s happening:

having trouble I am beyond new Im more than a beginner I am clueless trying to venture into coding during these carona times

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="/submit-cat-photo">
  <label for="indoor"><input id="indoor" value="indoor" type="radio" name="indoor-outdoor"> indoor</label>
  <label for="outdoor"><input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality" value= "Loving"> loving</label>
  <label><input type="checkbox" name="personality" value= "Lazy">lazy</label>
  <label><input type="checkbox" name="personality" value= "Energetic"> energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Your first test is failing:

One of your radio buttons should have the value attribute of indoor .

This is a terrible message. It is failing because you gave it the text “indoor” instead of “Indoor”.

The third test is failing:

One of your checkboxes should have the value attribute of loving .

Again, a bad message - it is only telling you one of the two problems with this line:

  <label><input type="checkbox" name="personality" value= "Loving"> loving</label>

The error message is telling you that the value should be “loving”, not “Loving”. Computers are very nitpicky about these things. It isn’t telling you that it has the same problem of the last that the text should be capitalized. (Not because HTML demands it, but because that is the way the test was designed.)

Let us know if you can’t figure out the rest.

thank you for trying to help i fixed one problem out of two so definitely making progress

1 Like