Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Daniel Heila
Daniel Heila
1,811 Points

HTML Lists challenge task 2 bug?

In task 2 of HTML Lists Challenge, I am asked to add three list items ("Stop" "Drop" "Roll") to the ordered list I created in the previous task successfully. Here is how I answered it:

<ol>
   <li>stop</li>
   <li>drop</li>
   <li>roll</li>
</ol>

I continually get an error message "BUMMER, 'Stop' should be first in the list". Which it is. Kept trying it with different spellings of the words, with caps, with quotes, etc. No luck.

Bug?

Thanks, Daniel

7 Answers

Daniel Heila
Daniel Heila
1,811 Points

Well, just did exactly the same coding for this task (7th or 8th time) and it finally showed the correct result. Is this a common thing with the challenges? It kind of felt like it was being worked on as we chatted. I got glitchy results going back and forth between preview and editor.

Thanks for every one's help. Getting a hang of it little by little.

Take care, Daniel

Peter Smith
Peter Smith
12,347 Points

Daniel, I can't speculate why it worked now and didn't before but I'm glad it works now!

Daniel Heila
Daniel Heila
1,811 Points

Do you think it could be browser related? The browser has been kind of choppy today (Firefox, updated).

Peter Smith
Peter Smith
12,347 Points

Again, not sure. I'm honestly more tempted to think it was a minor typo on your end than anything else. I think only because it worked well for me today, and it worked well when I passed it a week ago.

But anyway, glad it worked out!

Daniel Heila
Daniel Heila
1,811 Points

Well, back to square one. After getting a pass on that task, when I tried to go to the next one, I was rerouted back to task 2. When I tried to complete it yet again, I got the BUMMER message.

I appreciate your honesty about the typo thing and I totally know where you are coming from. However, I am a copyeditor as well as an aspiring Web designer and feel that my fine tooth comb for things like that is pretty well greased (pomade?).

I'm just going to go on to the next topic and hope I won't be hindered by the glitch. I am going to email the tech support as well.

Again, thanks for your help.

Take care, Daniel

the "back tick" is behind "1". or just copy past this ```

Daniel Heila
Daniel Heila
1,811 Points

Got the code in there now. Hope that helps. Thanks, Daniel

No bug. Here is my code. All works:

<!DOCTYPE html>
<html>
  <head>
    <title>HTML Lists Challenge</title>
  </head>
  <body>

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->

    <ol>
        <li>Stop</li>
        <li>Drop</li>
        <li>Roll</li>
    </ol>

  </body>
</html>

Does the code looks like this?

<ul>
    <li>Stop</li>
    <li>Drop</li>
    <li>Roll</li>
</ul>
Daniel Heila
Daniel Heila
1,811 Points

No. It is an ordered list. Otherwise, yes that is the markup.

Please add your code)

Daniel Heila
Daniel Heila
1,811 Points

Yes, trying to do that. I got a bit snarky there, my apologies. However, I don't know how to type the "back ticks" that are required to enter code in posts. Help?

Peter Smith
Peter Smith
12,347 Points

@Daniel Firstly, you can enter code into your questions using Markdown. Treehouse has this markdown cheatsheet in the forums.

As for your root question about Stop Drop Roll, I just completed that challenge a few weeks back without issue. Use markdown to show your full code here and maybe someone in the community can be more helpful (maybe that person is even me!)

Daniel Heila
Daniel Heila
1,811 Points

Yes, I looked at the cheatsheet but cannot locate the "back tick" character on my keyboard.

Peter Smith
Peter Smith
12,347 Points

Daniel Heila where is the challenge? Can you post a link to it?

Daniel Heila
Daniel Heila
1,811 Points

Peter Here is the URL for the challenge:

[HTML Lists Challenge]http://teamtreehouse.com/library/html/lists/html-lists

Peter Smith
Peter Smith
12,347 Points

Daniel Heila I just did the challenge and this code worked, perhaps you made an accidental change to some of the provided code?

<!DOCTYPE html>
<html>
  <head>
    <title>HTML Lists Challenge</title>
  </head>
  <body>

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->
    <ol>
      <li>Stop</li>
      <li>Drop</li>
      <li>Roll</li>      
    </ol>

  </body>
</html>
Daniel Heila
Daniel Heila
1,811 Points

Peter

Actually, I get the same code but it still doesn't work. When I enter the code and preview, I get a truncated list (no 1. stop): 2. drop 3. roll.

2. drop
3. roll

Here is the code:

<!DOCTYPE html>
<html>
  <head>
    <title>HTML Lists Challenge</title>
  </head>
  <body>

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->
    <ol>
      <li>stop</li>
      <li>drop</li>
      <li>roll</li>
    </ol>

  </body>
</html>