Having Trouble with Check Radio Buttons and Checkboxes by Default"

I know that what I’m doing is correct. I see the boxes checked by default in the actual website that I’m building in the exercise. Each time I run the test it says to me:

You should not change the inner text of the Indoor label AND You should not change the inner text of the Loving label.

It shows at the right what is happening on the Cat App website and the correct boxes are selected and checked. I’ve watched the video 10 times and I have started from the beginning 10 times and now I’m super frustrated. Please help…

I think that there is a glitch in this particular challenge and I am stuck here and can’t proceed which is super frustrating because I’d like to continue on with my work here but am stuck waiting for an answer to this.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

We are not able to help without seeing your code and having a link to the challenge

Thank you.

MY LINK

please post your code too

This is the challenge that I need help with.I’ve provided a link to my particular challenge and the code associated with that in the link above.

You have not posted any code.

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.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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><input type="radio" name="indoor-outdoor" checked> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label=><input type="checkbox" name="personality"checked> Loving</label>
  <label=><input type="checkbox" name="personality"> Lazy</label>
  <label=><input type="checkbox" name="checkbox"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.83 Safari/537.36

Challenge: Check Radio Buttons and Checkboxes by Default

Link to the challenge:

You have changed things that you shouldn’t have. For example, you have removed the ids from the inputs? Is there a reason you did this? I would click the “Reset All Code” button to get a fresh start and just do only what the instructions ask.

That seems pretty drastic to me. It ‘will reset everything and cannot be UNDONE’. But…I might have to if there is no other way to proceed.

No, it just puts the starting code for this particular challenge back to what initially was. It doesn’t reset anything else.

I agree, the wording on that button does sound a little ominous.

You are a genius. I reset and now it’s working perfectly. yes!!!

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