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 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.