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 HTML Basics Getting Started with HTML Lists and Links Challenge

Shima Bahre Abdalla
Shima Bahre Abdalla
1,451 Points

i created the lings but i do not knw where is problem can you help please?

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Lists and Links</title>
  </head>
  <body>
    <h1>welcome to soan's web</h1>
    <p>this web will be focusing on what is soana and what is it use for</p>
 <ul>
   <li>Cakes</li>
   <a href="cakes.html">read more</a>
  <li>Pies</li>
   <a href="pies.htmal">#</a>
  <li>Candy</li>
   <a href="candy.html">read more</a>
    </ul>
  </body>
</html>

1 Answer

Guillermo Gallo
seal-mask
.a{fill-rule:evenodd;}techdegree
Guillermo Gallo
Full Stack JavaScript Techdegree Student 8,490 Points

Hi Shima Bahre Abdalla

You seem to be off to a great start, however it seems like you created your own links and also created them outside of the list items.

The challenge requires the <a> tags to be placed around the text inside each <li>.

So for example something like this:

<ul>
<li><a href=“cakes.html”>Cakes</a></li>
</ul>

Hopes this helps.

Alan Lane
Alan Lane
8,129 Points

Also to add to what Guillermo posted you have a typo under the pies link <a href="pies.htmal">#</a> should be: <li><a href=“pies.html”>Pies</a></li>