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 trialTinashe chikamba
1,657 PointsBummer: 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(); } }
kevin hudson
Courses Plus Student 11,987 PointsRedo your question so we can help you please.
Steven Parker
231,236 PointsPlease provide a link to the course page you are working with so we can see the whole issue.
1 Answer
Steven Parker
231,236 PointsEven 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.
Tinashe chikamba
1,657 PointsTinashe chikamba
1,657 Pointswat dose it need wats need to be applied in my code