Skip to content

Aditya5989/React-Form-Handling-with-onChange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Form Handling with onChange

📖 Project Overview

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.


🚀 Getting Started

1. Create a new React project

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

✅ Output

When the app runs successfully, the browser will display:

WhatsApp Image 2025-09-17 at 11 42 27_1da2f2ba WhatsApp Image 2025-09-17 at 11 42 27_bd37ef3d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published