Tell us what’s happening:
Not understanding how to implement value at all. Also, it does not make any type of sense to me.


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">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

When a form gets submitted, the data is sent to the server and includes entries for the options selected. Inputs of type radio and checkbox report their values from the value attribute.

<form action="/submit-cat-photo">

    <label><input type="radio" value="indoor" name="indoor-outdoor"> Indoor</label>

    <label><input type="radio" value="outdoor"name="indoor-outdoor"> Outdoor</label><br>

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

    <label><input type="checkbox" value="lazy"name="personality"> Lazy</label>

    <label><input type="checkbox" value="energetic"name="personality"> Energetic</label><br>

    <input type="text" placeholder="cat photo URL" required>

    <button type="submit">Submit</button>


Thank, a bunch!

Think this will work…

Thanks, could not understand this until you arrived.

Thanks, again.

It’s great to see your enthusiasm for helping, but it’s better to guide a person to the answer than just giving them the code.

I have been working on this all day and it finally made some form of sense.

Thanks, again


Thanks, again