A simple, clean and responsive Notes Taking Application built using React.js and Tailwind CSS.
This app allows users to quickly add and delete notes in real time with a beautiful sticky-note style UI.
Check out the live version of the project here:
🔗 Live Demo: https://notes-app-six-red.vercel.app/
- ✍️ Add new notes with title and description
- 🗑️ Delete notes instantly
- ⚡ Real-time updates using React state
- 📱 Fully responsive layout
- 🎨 Modern and minimal user interface
- 💻 Built using functional components and hooks
- React.js – Frontend Library
- Tailwind CSS – Styling
- Lucide React – Icons
- JavaScript (ES6+)
The app is divided into two main sections:
- Form to add new notes
- Input field for note title
- Textarea for note details
- Submit button to add note
- Displays all recently added notes
- Each note appears as a sticky-note styled card
- Delete button available on each note
Follow these steps to run this project locally:
git clone https://github.com/shivxmsharma/Notes-App.gitcd Notes-Appnpm installnpm run devThe app will be available at:
http://localhost:5173
Notes-App/
│── src/
│ │── App.jsx # Main application component
│ │── main.jsx # React root file
│ │── index.css # Tailwind CSS styles
│── package.json
│── vite.config.js
│── README.md
- The application uses React
useStatehooks to manage:- Note title
- Note details
- List of notes
- User enters title and details
- Clicks Add Note button
- Data is stored in state array
- UI updates instantly
- Each note card has a delete button
- Clicking it removes that note from state
- UI re-renders immediately
const [title, setTitle] = useState('')
const [details, setDetails] = useState('')
const [task, setTask] = useState([])const submitHandler = (e) => {
e.preventDefault();
const copyTask = [...task];
copyTask.push({ title, details });
setTask(copyTask);
setTitle('');
setDetails('');
}const deleteNote = (idx) => {
const copyTask = [...task];
copyTask.splice(idx, 1);
setTask(copyTask);
}Planned improvements for the project:
- ✏️ Edit existing notes
- 💾 Save notes using Local Storage
- 🔍 Search and filter notes
- 🏷️ Add tags or categories
- 🌙 Dark / Light mode toggle
- 📌 Pin important notes
Contributions are always welcome!
- Fork the project
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a pull request
Shivam Sharma
- GitHub: https://github.com/shivxmsharma
- LinkedIn: https://www.linkedin.com/in/shivxmsharma/
This project is completely free to use and open-source.