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

T Kravitz
T Kravitz
204 Points

Not replaying after typing an 'Invalid word'

After I would type in an 'Invalid word' it would exit. However, in the video you are given another chance. I can't seem to figure out what is wrong.

3 Answers

Hi!, can u explain ur question again and paste ur code? i didnt understood what ure asking

Thatcher S.
Thatcher S.
383 Points

So we can help you, please post your code in your question. Put 3 of these at the beginning and end of you code: `

Example:

This is code surrounded by 3 of `
Thatcher S.
Thatcher S.
383 Points

Like this:

'''
code here
'''

but replace ' with `