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

Liron Tal
Liron Tal
4,825 Points

Hi all, how do I initiate the Extra Credit exercise? Thanks!

I finished the "perfecting the prototype" and saw the Extra Credit with "Contains" and all, but how can I complete it?

Thanks!

4 Answers

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Liron;

Welcome to Treehouse!

Extra Credit exercises here at Treehouse are project extensions to complete on your own. They are not an official part of the points calculation or badge earning process.

If you complete the Extra Credit, please post your approach here in the forum so others can gain knowledge as well.

Ken

Liron Tal
Liron Tal
4,825 Points

Hi again,

I used the last exercise and did this:

String who; do { who = console.readLine("Who's there? "); } while(who.contains("banana")); console.printf("%s you glad I didn't say Banana again?", who);

Is that what I should have done?

Thanks

Liron

Ken Alger
Ken Alger
Treehouse Teacher

I believe that the Extra Credit, in this case, was referring to the course code project and not the challenge. Kind of an expansion on the Censoring Words - Using Logical ORs and Censoring Words - Looping until Value Passes video.

Liron Tal
Liron Tal
4,825 Points

How do I get there? You mean the Workspace itself? Does the extra credit mean more points?

Thanks

Liron

Ken Alger
Ken Alger
Treehouse Teacher

Yes, in Workspaces. No, there are no additional points for the Extra Credit, but the learning is invaluable.

Ken