Language: JavaScript. The pull request has one bug. You get three tries to find the line, then a short debrief.
An order may be placed only if there is enough stock for every item. This PR adds the check behind the "Pay" button.
Codetrap needs JavaScript: the code review happens in your browser.