upload tester
✓ Published0🌍 Public
This example shows a file upload interface built with React. It displays file details such as name, type, size, and last modified date after a user selects a file. The component uses the `useState` hook to manage selected file state and a form data submission. It sends the file to the freeimage.host API via a `fetch` POST request using a placeholder API key. The rendered output conditionally shows file metadata or a prompt to select a file, and includes a submit button.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed