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 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 `