Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 10: Utilizing Forms with JavaScript!

Instruction

File Picker

There is one last <input> type that came to us in early HTML: the file input type. Forms are able to send files to a server (this specific action is also detailed in the Sending form data instruction step). The file picker widget can be used to choose one or more files to send.

To create a file picker widget, you use the <input> element with its type attribute set to file. The ty...