This project demonstrates how to create a form with an input field in React and handle the onChange event to update state dynamically.
It shows how user input can be captured and displayed instantly by binding it to a state variable.
This is part of *Experiment 5, focusing on *React state management with forms and event handling.
Using Create React App:
npx create-react-app form-demo
cd form-demo
npm start
📂 Project Structure
form-demo/ ├── src/ │ ├── App.jsx │ └── main.jsx ├── package.json └── README.md
When the app runs successfully, the browser will display: