Use the value attribute with Radio Buttons and Checkboxes Assigment

Nah my goal is to become a neurosurgeon. I’m learning coding because I feel like it is a fun and useful tool to know. I could use coding as a fallback or if I succeed and become really good at coding I could maybe change my goal to become a creator of an app or game idk. Sorry if I don’t reply it says its my first day and I can’t reply until i wait for 1 hr

Full code Below:

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

    <li>cat nip</li>
    
    <li>laser pointers</li>
    
    <li>lasagna</li>
    

Top 3 things cats hate:

    <li>flea treatment</li>
    
    <li>thunder</li>
    
    <li>other cats</li>
    
<label for="indoor">

Indoor

<label for="outdoor" >

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

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

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

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

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

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

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