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 Build a Simple Website Text Editors and HTML Images and Lists

I am having problem with the code Challenge task 4/4

Can you please tell me the correct code of challenge task 4/4 This is my code:

<ul class="nav">
        <li><a href="#">About</a></li>
        <li><a href="#">Cupcakes &amp; Prices</a></li>
        <li><a href="#">Locations</a></li>
        <li class="last"><a href="#">Contact Us</a></li>
      </ul>

I tried this code but it says bummer can you please give me a correct code.

1 Answer

Hi Robert,

It looks like your code was lost there. You need to use Markdown to display the code. There is a link to the Markdown Cheatsheet just below the comment box.

To display code correctly, you need to wrap your code with 3 backticks (```) on the line before and after.

        ```
         <p>This is code!</p>
        ``` 

If you repaste your code, I can try to help you with the code challenge.