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


<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">
  <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>
</form>
</main>

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