Help please. Using value attributes with radio buttons and checkboxes

Tell us what’s happening:
I am unable to pass this test of using value attributes with radio buttons and checkboxes. All the values were supposed to be in lowercase. I need help identifying my mistake. Also I removed the “br” that came after “/label”. What is it for.

  **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://www.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="https://www.freecatphotoapp.com/submit-cat-photo">
  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor">indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor">outdoor</label>
  <label for="loving"><input id="loving" type="checkbox" name="personality">loving</label>
  <label for="lazy"><input id="lazy" type="checkbox" name="personality">lazy</label>
  <label for="energetic"><input id="energetic" type="checkbox" name="personality">energetic</label>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 5.0.2; HTC Desire 816 dual sim) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Mobile Safari/537.36

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

You are required to add a value attribute to radio and checkbox inputs. for example:
To add a value attribute to your outdoor radio:
<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="This is my value">outdoor</label
Note that I have added a value in this example. The requirement however is that your value should be the same as your label. so in this case your value should be outdoor

Thank you very much!

Tell us what’s happening:
Describe your issue in detail here.
I got help on this a while ago and I did as advised. but probably I still have a mistake somewhere. Please help me identify my problem.

  **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://www.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="https://www.freecatphotoapp.com/submit-cat-photo">
  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor">indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor">outdoor</label><br>
  <label for="loving"><input id="loving" type="checkbox" name="personality" value="loving">loving</label>
  <label for="lazy"><input id="lazy" type="checkbox" name="personality" value="lazy">lazy</label>
    <label for="energetic"><input id="energetic" type="checkbox" name="personality" value="energetic">energetic</label><br>
  <input type="text" placeholder="cat photo URL" required><br>
  <button type="submit">Submit</button>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 5.0.2; HTC Desire 816 dual sim) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Mobile Safari/537.36

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

What error are you getting?

Sorry never mind. I had misunderstood the instructions about lowercase but now I’ve passed the test. Thankyou.

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