I don't know where the code is wrong and how to correct it?


#1




Animals Around the World


The Brown Bear


The brown bear (Ursus arctos) is native to parts of northern Eurasia and North America. Its conservation status is currently "Least Concern." There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.


The following are subspecies of bears:


  • Arctos
  • Collarus
  • Horribilis
  • Netablelsoni (extinct)


  • #2

    First off, show your code and error message. Explanation of what you are trying to achieve also would be nice.


    #3

    I have the some problem. Received a red error message regarding my unordered list: 'Did you add the four items to the list?'. Because of this error I can't continue my lesson.

    This is my code:




    Animals Around the World


    The brown bear


    The brown bear (Ursus arctos) is native to parts of northern Eurasia and North America. Its conservation status is currently "Least Concern." There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.



    • limes

    • Tortillas

    • Chicken


    The following are subspecies of bears:



    • Arctos

    • Collarus

    • Horribilis

    • Nelsoni (extinct)




    #4

    Sorry forgot to add code

    <!DOCTYPE html>
    <html>
    <head>
      <title>Animals Around the World</title>
    </head>
    <body>
      <h1>The brown bear</h1>
      <p>The brown bear (Ursus arctos) is native to parts of northern Eurasia and North America. Its conservation status is currently "Least Concern." There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.</p>
      <ul>
        <li>limes</li>
        <li>Tortillas</li>
        <li>Chicken</li>
      </ul>
        <p>The following are subspecies of bears:</p>
      <ul>
        <li>Arctos</li>
        <li>Collarus</li>
        <li>Horribilis</li>
        <li>Nelsoni (extinct)</li>
      </ul> 
    </body> 
    </html>

    #5

    Could you also post instructions for this lesson?


    #6

    Screen Shot 2017-04-21 at 11.47.45

    Lesson: ' common HTML elements'
    Exercise 4: unordered lists


    #7

    This is my original code。I wish I could point out the mistakes and tell me how to correct it.
    running code of result is "Invalid operand to 'instanceof': Function expected" I don't understand it.
    So,please tell me how to modify the code. thank you very much.




    Animals Around the World


    The Brown Bear


    The brown bear (Ursus arctos) is native to parts of northern Eurasia and North America. Its conservation status is currently "Least Concern." There are many subspecies within the brown bear species, including the Atlas bear and the Himalayan brown bear.


    The following are subspecies of bears:



    • limes

    • Tortillos

    • chicken



    1. Preheat the oven to 350 degrees.

    2. Mix whole wheat flour, baking soda, and salt.

    3. Cream the butter, sugar in separate bowl.

    4. Add eggs and vanilla extract to bowl.


    • Arctos

    • Collarus

    • Horribilis

    • Netablelsoni (extinct)



    #8

    Your code looks fine here.

    If you are using chrome I would recommend using a different browser.


    #9

    Hmm, everything looks OK.

    Maybe except for indentation of
    <p>The following are subspecies of bears</p>
    I am not sure it will help, but could you try moving it a bit to the left so it will start at the same spot where you have <ul> tags?


    #10

    This is not the code you've posted, but the output :slight_smile:
    I guess all you need to do is to follow the instructions (i.e. there is no requirement to add ordered list in this exercise).


    #11

    Thanks for your replies. A simple few resets did the job in the end.


    #12

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