Getting stuck is part of the learning process, so we hope you don't feel discouraged. Every great programmer has been confused at some point. Here are the basic steps you'll need to troubleshoot code:
- Re-read the instructions and make sure that you fully understand what each question is asking.
- Check your code for spelling mistakes, especially in any function or variable names.
- Make sure your code is indented correctly and cleanly. Some languages, like Python, require specific indentation. Other languages don't require it but are much easier to read and troubleshoot when they are organized. You can read more on that here.
- Read the "Hints" section, which can be found at the bottom of the instructions on the left of the page.
- Take a peek at our Articles page for a more in-depth description of certain concepts and terms.
- Check out the "Codecademy Forums" link with the "Get Unstuck" located in the top navigation panel. The Forum allows you to read and submit conversations with other users who have had similar problems.
If you have followed all of these steps and you are still stuck, try resetting the exercise and writing your code over again. This can seem frustrating at first, but you will often fix the mistake that is causing your issue by writing your code over again. You can always click "Get the Solution" as well. We encourage you to review the solutions code to review where the error was occurring.
If you think a code error message is incorrect, please let us know! You can submit a bug within the learning environment by selecting Get Unstuck at the top of your screen. From there, select Bugs and report the issue.