Basic HTML and HTML5: Use the value attribute with Radio Buttons and Checkboxes (me again)

Tell us what’s happening:
Hey, It’s me again, thanks a lot for your help, I was watching a video and I saw that all that I did it seemed right but I don’t know what is the problem.


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">
			<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"name="personality"><value="loving">Loving </label>
<label><input type="checkbox"name="personality"><value="lazy">Lazy </Label>
<label><input type="checkbox"name="personality"><value="energetic">Energetic</label><br>
			<input type="text" placeholder="cat photo URL" required>
			<button type="submit">Submit</button>

Your browser information:

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

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

You shouldn’t have ‘value’ wrapped in ‘< >’ (it’s not an HTML tag).
Value is an attribute of the <input> tag (like name and type).

1 Like