Iam getting an error iam stuck on level 23 of basic HTML, HTML5

Two things:

  • Don’t post screenshots of your code. Use the Get Help button and then select ‘Ask for help’.
  • You have to spell the string exactly the way it is given in the instructions, including capitalization.

okay i wont use screenshots again

Concerning my second point, it appears capitalization is not an issue as this test will take both “world” and “World” (I just tested it). But in general, the tests are very picky so you should spell it exactly the same.

The syntax error you are getting might be related to extensions you have installed in your browser. Can you try this with a different browser?

this is an error I see reported since yesterday, can you please try to update your browser to latest version?

1 Like

i still dont get whats happening i think my code is correct but iam still getting the syntax error:

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="https://freecatphotoapp.com/submit-cat-photo">
  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"value="indoor"> 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"> 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 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

What does the error say?

You changed the original HTML and the tests are very sensitive about changes. Use the Reset All Code button to get it back to what it should be and ONLY add the value attributes.