Tell us what’s happening:
Ok retyped the checkbox attribute several times for the energetic checkbox am I missing something because it just wont take to clear this challenge??? tia
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>
<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 id="indoor"value="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
<label><input id= "outdoor"value="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
<label><input id type="checkbox" name="loving" value= "loving"> Loving</label>
<label><input id type="checkbox" name="Lazy"value= "lazy"> Lazy</label> <label><input id type="checkbox" name="Energetic"value="Energetic"> Energetic</label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0.
Challenge: Use the value attribute with Radio Buttons and Checkboxes
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.
BobSmith is correct, you could have edited your original post. Since we are here though, I’ll take a look at your code and get back to you in a minute.