Help for order list and unroded list

*Please i need you help i write this code and it seemed correct but it doesn’t work and i don’t know why

  **Your code so far**

<ol>Top 3 things cats hate:
<li>other cats</li>
<li>water</li>
<li>bread</li>
</ol>
<ul>Things cats love:
  <li>fish</li>
  <li>mouse</li>
  <li>meat</li>
  </ul>


  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36

Challenge: Create an Ordered List

Link to the challenge:

Hi @nkoi !

Welcome to the forum!

Why did you change the unordered list?
You are only supposed to create an ordered list.

I would reset the lesson and just add the ordered list underneath this p tag.

  <p>Top 3 things cats hate:</p>

Don’t touch anything else.

Hope that helps!

Top 3 things cats hate:

  1. other cats
  2. water
  3. bread

Things cats love:

  • fish
  • mouse
  • meat
try this

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.

1 Like

that what i tried but it doesn’t work

but I didn’t solve the challenge

have you tried following this advice?

yeh,but this challenge is about list not paragraph

but if you change things you are not supposed to change you confuse the tests

this is the challege

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36

Challenge: Create an Ordered List

Link to the challenge:

and this is the starting code

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

</main>

to this code you need to add the ordered list as required, not change what’s already written

Take your ordered list

and place that underneath the p tag

and the test will pass.

The issue with your answer is that you deleted the p tags and it caused these tests to fail.
You should have an ordered list for Top 3 things cats hate:
You should have an unordered list for Things cats love:

Remove all the content from the <ol> and <ul> tafs n rwap them inside <p> tag

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.

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 (’).

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