Coding task · Next.js course · Module 6: Forms and Server Actions

Practice: Create a photo upload form with preview,

File upload is data transfer in Next.js! FormData + encType='multipart/form-data'. FileReader for preview, progress events for the progress bar. Validate MIME type and size before sending to the server.

Task

Create a photo upload form with preview, drag&drop, progress bar, and type/size validation