Explain the Discount to Grace

Your project entry now has notes under its first four headings: the trace, the modules, the two discount rules, and Code Mentor’s claims. Heading 5 is still empty, and it’s the one Grace asked for.

In this capstone review, you’ll turn those notes into Grace’s page, then walk Edsger through it before she hands it on. He’ll ask the questions the next new hire would, and for each answer he’ll want a line you found and a run that confirms it. You’ll also meet one case your page doesn’t cover yet and work it out the same way. Start with the page.

Turn Your Notes Into Grace’s Page

The notes in your map are written for you. They’re short, they lean on line numbers, and they skip the reasons. Grace needs the same facts in sentences she can follow, with the file and function names the new hire will look for. Follow the order of the six points under Know What You’ll Hand Grace in the project lesson, and keep your explanation to one page.

Each sentence about a rule should say what the rule is, where it’s enforced, and how you know. Here’s the total rule from your step 3 notes, written for the page:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.