Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Java Basics Perfecting the Prototype Censoring Words - Looping Until the Value Passes

Michel Spaniolo
PLUS
Michel Spaniolo
Courses Plus Student 1,850 Points

hi , for some reason the code doesnt run all the way through for me past the censor part .

https://w.trhou.se/d1rabgewtw I tried even commenting out system exit(0)..But upon entering a correct noun the code doesnt go to the next block of adverb and TreeStory

1 Answer

Steven Parker
Steven Parker
216,012 Points

You're running an old copy of the program. Your latest changes have errors and have not successfully compiled yet.

On line 35, the quotes are not matched and there is a missing ending quote on the last string. Also, there are a couple of extra closing braces at the end of the program.

Fix the errors and recompile and then you can run the latest version.