It keeps saying to not change the inner label text but i have too write checked into the input so I'm not sure what to do?

Tell us what’s happening:
Describe your issue in detail here.
the problem is to write checked into the first radio and checkbox but i keep getting the error message to not change the text inside the labels. i’m not sure what to do 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 for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
  <label for="loving"><input checked id="loving" type="checkbox" name="personality" value="loving"> Loving</label>
  <label for="lazy"><input id="lazy" type="checkbox" name="personality" value="lazy"> Lazy</label>
  <label for="energetic"><input id="energetic" type="checkbox" name="personality" value="energetic"> 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_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15

Challenge: Check Radio Buttons and Checkboxes by Default

Link to the challenge:

Mak sure you also watch the videos to help you. I will show the code answer because it helps me to learn also.

type or paste code here  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
    <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
    <label for="loving"><input id="loving" type="checkbox" name="personality" value="loving" checked> Loving</label>
    <label for="lazy"><input id="lazy" type="checkbox" name="personality" value="lazy"> Lazy</label>
    <label for="energetic"><input id="energetic" type="checkbox" name="personality" value="energetic"> Energetic</label><br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>

Share the solution is not the good way at all. It is in practicing and meeting troubles that we learn. That is the interest of a website as freeCodeCamp. The best way to help someone is to guide. The debug part is a huge part of the dev job and it makes part of the learning.

I did the same at start, we told me, now I tell you. :wink:

When you share a solution, you should use blur spoiler [spoiler]This text will be blurred[/spoiler]

Thank you for you help, but that is the same code I have above and it still shows the error message when running it. This is the error I get : // running tests
You should not change the inner text of the Indoor label. You should not change the inner text of the Loving
label. // tests completed

Ok thank u lucLH I’m getting a lot of reply’s from people with sarcasm and a attitude of I know best. It’s getting old. Please do me a favor and reply to the person needing help. Humans also learn better by teaching others. If the lessons have videos from the instructor completely showing how to do the answer in less then 25 seconds and you can keep watching and get the answer what’s the difference he is allowed but I’m not? This person is complete new. They haven’t even started one project. Really dude

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.

In which way did you teach in your reply to him? You just gave the answer, nothing else.

The video is explaining in the same time than doing. Once again did you explain anything? Did you even check the code of him? You just put your answer like that but if you watched you would see that his code is good. The issue is somewhere else. That is not called help someone.

This person is at the final challenges of the HTML basics, then it doesn’t look like “completely new” to me. And, in all the case, it is exactly because someone is new that share the solution doesn’t make any sense. The important is to understand why there is an issue, find a fix and not start to have shortcomings from the beginning, especially when you are self-taught learner. In this situation, you don’t have teachers to manage you, classes, classmates etc. That’s also why the forum is a good place to be, to exchange, learn and help each other. You know well that there is the help section into a challenge with the solutions, so what’s the point of giving it here?

In all the case, no matter what you say or I say, the rules of that forum is clear and share the solution doesn’t make part of them.

@andreapineda

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

Exactly what I’m talking here comes the attitude just go reply somewhere else since u want to argue I’m not going to play this I’m special and important game with you

Nobody plays and nobody wants argue, you are the only one to get excited here. I explained you nicely what you shouldn’t do in my first post because I did the same than you at start, and you answered me as I attacked you.

The message you receive from the mod is exactly what I received one month ago. Maybe you took the emoji bad I don’t know, but my message wasn’t with bad purpose. So take it easy and breath a little, we are all here for the same purposes. I find this really good that you involve yourself to help others, I respect that. That’s why I took the time to explain you. Anyway, you don’t need to read my advices, simply read the ones gave by the mod and end of the story.

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