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

Bummer: Make sure you call your new private method from the applyDiscountCode method. Make sure you set the this.discoun

private String normalizeDiscountCode(String discountCode) { return discountCode.toUpperCase(); } }

wat dose it need wats need to be applied in my code

Redo your question so we can help you please.

Steven Parker
Steven Parker
216,083 Points

Please provide a link to the course page you are working with so we can see the whole issue.

1 Answer

Steven Parker
Steven Parker
216,083 Points

Even with just part of the instructions showing, I see where it reminds you to "Make sure you set the this.discoun...".

But the code currently doesn't use the "this." prefix at all. I'll bet that's at least some of the issue.