Not passing the challenge, am i wrong?

Tell us what’s happening:
I have changed all but its not working

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><input type="radio" name="indoor-outdoor" value="Indoor"> Indoor</label>
  <label><input type="radio" name="indoor-outdoor" value="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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/use-the-value-attribute-with-radio-buttons-and-checkboxes

1 Like

What do the failing tests say? Are you using Firefox?

You are a little wrong, but nothing you can’t fix. Your value attribute on each of the checkboxes and radio buttons are capitalized, which is not what the test asks for.

When doing any of the HTML and javascript lessons, if the test is validating any text, the test is very exact in what it is looking for.

Fortunately, the lesson itself tells you exactly what the test is expecting.

I am using chrome and its just saying all are wrong

I believe that @snowmonkey has identified the problem for you.

yes sure it worked thank you very much @snowmonkey

1 Like

(and if you’re like me … this exact mistake will happen oh, a few more times :wink: My fingers just do that…)