Confirming choices using a Confirm Box
A confirm box is used to get the web page visitor to accept something. It will popup the same as an alert box but this time the user will have two choices OK and Cancel to select from.
If they click OK, then the box return value is true and for Cancel, it returns false. This could be used to confirm or accept terms of conditions on a page.
Here's an example, again you can view the code just under here in the source of this page.
For the assignment you need to explain what a confirm box is and show an example that you find. It would be excellent if you were able to include an example.