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 How to Make a Website Creating HTML Content Organize with Unordered Lists

deepak kumar pradhan
PLUS
deepak kumar pradhan
Courses Plus Student 3,133 Points

I have enrolled to basic web design course. While assignment I am stuck here , I am able to upload the image while quiz

I am able to upload to my workspace , but did not find any way to do the same while quiz

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <tittle>Deepak Pradhan | Designer</tittle>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Deepak Pradhan</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> 
      <ul>
        <li>
          <a href= "img/numbers-01.jpg">
            <img src="img/numbers-01.jpg" alt="">
            <p>Experimentation with color and  texture</p>
          </a>
        </li>

        <li>
          <a href= "img/numbers-02.jpg">
            <img src="img/numbers-02.jpg" alt="">
            <p>Experimentation with color and  texture</p>
          </a>
        </li>

        <li>
          <a href= "img/numbers-06.jpg">
            <img src="img/numbers-06.jpg" alt="">
            <p>Experimentation with color and  texture</p>
          </a>
        </li>


      </ul>
    </section>
    <footer> 
      <p>&copy;  2015 Deepak Pradhan</p>   
    </footer>
  </body>  
</html>

1 Answer

Hi Deepak,

You cannot upload images to the challenges. The challenges only want you to provide the right answer, not actually build something. In this challenge, you are going up to the img folder to select an image but the challenge is asking you to just add the images. Not go to the img folder and also not to include an anchor tag. So, try it without the "/img" in the src and without the anchor tags, like this:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <tittle>Deepak Pradhan | Designer</tittle>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Deepak Pradhan</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> 
      <ul>
        <li>
            <img src="numbers-01.jpg" alt="">
            <p>Experimentation with color and  texture</p>
        </li>

        <li>
            <img src="numbers-02.jpg" alt="">
            <p>Experimentation with color and  texture</p>
        </li>

        <li>
            <img src="numbers-06.jpg" alt="">
            <p>Experimentation with color and  texture</p>
        </li>


      </ul>
    </section>
    <footer> 
      <p>&copy;  2015 Deepak Pradhan</p>   
    </footer>
  </body>  
</html>

There even is no need for the paragraph tags but you can leave those as the challenge will accept this answer.