Hi!
Pls help! Idk whats wrong with my code… thats my code below
<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" id="indoor" value="indoor" name="indoor-outdoor"> Indoor</label>
<label>
<input type="radio" id="outdoor" value="outdoor" name="indoor-outdoor"> Outdoor</label><br>
<label><input type="checkbox" name="personality" id="Loving"value="Loving"> Loving</label>
<label><input type="checkbox" name="personality" id="Lazy" value="Lazy"> Lazy
</label>
<label><input type="checkbox" name="personality" id="Energetic" value="Energetic"> Energetic</label><br>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</main>
And thats my task to do:
Give each of the radio
and checkbox
inputs the value
attribute. Use the input label text, in lowercase, as the value for the attribute.