PdfPrep.com

How should you complete the code?

DRAG DROP

You are creating a web page that requests a username.

You create the following HTML form:

You need to write a function that retrieves the username from the form.

How should you complete the code? To answer, drag the appropriate code segments to the correct locations. Each function may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Answer:

Explanation: https://www.w3schools.com/jsref/coll_doc_forms.asp

Exit mobile version