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!

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


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
225,742 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
225,742 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.