I cant get pass this stage, i need assistance

Tell us what’s happening:
Describe your issue in detail here.

   **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://www.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="https://www.freecatphotoapp.com/submit-cat-photo">
   <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>
   <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>
   <label for="loving"><input id="loving" type="checkbox" name="personality"> Loving</label>
   <label for="lazy"><input id="lazy" type="checkbox" name="personality"> Lazy</label>
   <label for="energetic"><input id="energetic" type="checkbox" name="personality"> Energetic</label><br>
   <input type="text" placeholder="cat photo URL" required>
   <button type="submit">Submit</button>
 </form>
</main>

<label for="indoor">
<input id="indoor" value="indoor" type="radio" name="indoor-outdoor">Indoor
</label>
<label for="outdoor">
 <input id="outdoor" value="outdoor" type="radio" name="indoor-outdoor">Outdoor
</label>
<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>
   **Your browser information:**

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

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

You should only add the value attribute for this task. You have actually modified the text too.

<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>

Here this should have been

<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>

It was asked only to set value attribute to text in lowercase and not to modify the text.
Edit:
To find the changes easier, check the input label text has first letter as capital, like Loving and not loving.

@chinmaymighty,

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

1 Like

Thank you for guiding. I will keep this in mind for future activity. :heart:

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