A simple and clean React Notes App that allows you to create, edit, color and delete notes.
Fully built using React Hooks and basic CSS.
- Click the + button to open the note box.
- Type your note in the textarea.
- Save using the check icon.
- Select from 5 predefined colors.
- New note gets the selected color as background.
- Click the edit icon on a note.
- The textarea becomes editable.
- After editing, click the check icon to save.
- Remove any note instantly using the trash icon.
- Uses multiple states like:
isactive— open/close sidebaraddbox— show/hide new note boxupdateIdx— to track which note is being editeddata— stores the notes list
useStatefor state management- Controlled inputs (
textarea) - Array methods (
map,filter) for CRUD
src/
│── App.jsx
│── App.css
│── index.js
# Clone the repository
git clone https://github.com/your-username/notes-app.git
# Navigate into the project
cd notes-app
# Install dependencies
npm install
# Start the development server
npm start.jpg)
.png)