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 trialRohit Gopalan
81,945 PointsHow 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
Patrick Mooney
34,161 PointsYou 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")
coder5837
1,535 Pointscoder5837
1,535 Pointscould 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