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

Java Local Development Environments Advanced Tooling Finishing TreeStory

How do I present the TreeStory (3) in this challenge?

Even when I have ensured that the code runs correctly, this problem arises. I was wondering whether someone can help me deal with this problem?

1 Answer

You might be having the same problem I was. If you prompted for the template inside of the main method of Main, try creating a method in Prompter called promptForTemplate() (or something like that), which uses the Prompter's mReader rather than creating a second one, and then use that to get the template from the user (so, call prompter.promptForTemplate() assuming you called the Prompter you created "prompter")

could you post your finished code? I am literally behind my computer sobbing right now I have been on this challenge for over four days PLEASE