Skip to main content
100%

upload tester

✓ Published0🌍 Public
Ddleoenri
Last edited Apr 21, 2022
Created on Apr 21, 2022
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes