Create a script requires visitors to accept terms


Discuss the below:

Q: Create a script that requires yours visitors to accept your terms and conditions before proceeding, by selecting a check box. save the page as AcceptTerms.html. include two links , an Accept link amd a Decline link. The Accept link should open a page named AcceptPage.html that displays the text "thanks for accepting our terms." The Decline link should open a page named DeclinPage.html that displays the text "you did not Accept our terms" in the AcceptTerms. html document, create a single event hadler function named comfirmTerms() that determines whether the check box is selected, and returns a value of true if it is or false if isnt't. call the confirmTerms() function from the Accept link. if the check box is selected, open the AcceptPage.html document. If the check box is not selected, display an alert dialog box information the user that he or she must accept the terms. if the user clicks the Decline link, open the Declinepage.html document.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Create a script requires visitors to accept terms
Reference No:- TGS01938216

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)