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 Create Navigation with Lists

what do I do when I cannot figure out what is wrong?

I cannot find the error or any help to locate it

Michael Hulet
Michael Hulet
47,912 Points

Read the Markdown Cheatsheet at the bottom of the comment box and post the code you've written, following said cheatsheet's instructions as to how, and someone here will probably be able to help you out

1 Answer

Michael is right in that posting your code here will allow others to help you directly, But I would like to add a more general approach for how to find what is wrong with your code so that you don't always have to rely on others to help you.

Break down your code! (Make sure to backup your files first) Start by removing pieces of code until the website works again, at that point you know that the problem is in something you removed. Start by adding them back in the smallest piece possible (one tag/instruction at a time if possible) and test the site each time. If something breaks then you've found the exact piece of code that broke it.