Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Second question under Organize w/ unordered lists had an error, it says "Oops! it looks task 1 no longer passing.

I can't continue for this quizzed coz I don't know how to solve the problem.

Can you post the code and tell us which challenge you're on?

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html">Portfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <section>
      <nav>
        <ul>
          <li></li>
          <li></li> 
          <li></li>
        </ul>
      </nav>
    </section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

Under section, I inserted the codes like that to accomplished the question number 1. but second question asking me to add image lists that I already prepared under section and these are the images asking me to add: numbers-01.jpg, numbers-02.jpg, numbers-06.jpg.

I created the codes like this under section:

<section>
   <nav>
        <ul>
           <li>
                <img scr="img/numbers-01.jpg" alt=""/>
            </li>  
            <li>
                <img scr="img/numbers-02.jpg" alt=""/>
             </li>
             <li>
                <img scr="img/numbers-06.jpg" alt=""/>
             </li>
         </ul>
   </nav>

</section>

MOD NOTE: edit question for markdown to properly display code.

3 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,862 Points

Kay Lindley,

Finally, got this figured out--I found the challenge that you are working on.

Your code is correct and in the correct place, but you add a set of <nav> tags that were not asked for, and there is already a <nav> section earlier on in the code. Just delete the ones inside the section tag where you are adding the images and it will pass (I copied your code into the challenge, deleted the opening and closing navs and it passed both tasks.

<section>
    <ul>
      <li><img src="numbers-01.jpg" alt=""></li>
      <li><img src="numbers-02.jpg" alt=""></li>
      <li><img src="numbers-06.jpg" alt=""></li>
    </ul>
 </section>

Also, When you click the "get help" button from the challenges/quizzes, it won't take you to the forum. You enter in your question/title and click "next step." Now it will search for any matches. If it finds some, you can click on that link(s) to see if the question someone else has asked is the same and if it is helpful. If there are no matches, or not helpful questions returning in the search, just click on "next step" again. Here you will get a larger box and can give a more detailed description. Once done, make sure "attach my code" is checked and then click "start discussion." This will post your question to the forum along with your code and where your are in the course.

I hope this helps (and works this time). :)

Yes, you're absolutely correct. The nav is not part of the question and no need to put it there, that's why i kept receiving those message but now I got it right. Thanks for your help I can speed up now my studying for this course.

I think part of the problem is you have scr and it should be src (for source)... And don't have a forward slash " / " after alt = " " ... Hope this helps....

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,862 Points

Hi Lindley,

Without knowing exactly which challenge you are on, this is only a guess.

If I remember correctly, and by looking at your code, I'm only guessing where you are in the course. But, I think if you remove the img/ from your code, it will pass. I believe that where you are, your were not told the images were in a "img" directory, but rather stored in the root directory. Therefore, you just need numbers-02.jpg as the source.

In the future, if you are in a challenge or quiz, the best way to post to the forum is with the "Get Help" button, as this will link your question to the exact point in the course where you are at.

Keep Coding! :)

I clicked the Get Help button but it won't work, I just stayed there and won't go to the forum environment. Yes I tried to removed the img/ and make the numbers-01.jpg as a source but still not working. The error still the same.

Here is the question no.2 after I finished answering the question no.1 and also the codes after I coded question no.1, then see what's going on to my problem:

Question No. 2 Inside the three new list items, add the following images: "numbers-01.jpg", "numbers-02.jpg", and "numbers-06.jpg". Leave the attributes blank, and don't add any captions or links. Just the images! Remember, you can preview your work by clicking the preview button.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html">Portfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <section>
      <nav>
        <ul>
          <li></li>
          <li></li>
          <li></li>
        </ul>
      </nav>
    </section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

Then I answered the question no. 2 by this following codes:

<section>
      <nav>
        <ul>
          <li><img src="numbers-01.jpg" alt=""></li>
          <li><img src="numbers-02.jpg" alt=""></li>
          <li><img src="numbers-06.jpg" alt=""></li>
        </ul>
      </nav>
 </section>

After checking it out if my answer is correct then the message error appears like this, "Oops! It looks task 1 no longer passing". I don't know where I got wrong for this quizzed.