Tell us what’s happening:
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>
<label for="indoor">
<form action="/submit-cat-photo">
<label for="indoor"><input type="radio" name="indoor-outdoor"value="indoor">indoor
</label>
<label for="outdoor"><input type="radio" name="indoor-outdoor"value="outdoor">outdoor
</label><br>
<label for="loving">
<input type="checkbox" name="personality"value="energtic">loving
</label>
<label for="lazy">
<input type="checkbox" name="personality"value="lazy">lazy
</label>
<label for="energtic">
<input type="checkbox" name="personality"value="energtic">energetic
</label><br>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">submit</button>
</label>
</form>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) 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: