A simple, responsive web-based notes application built with vanilla HTML, CSS, and JavaScript. Create, edit, and manage your notes with a clean and intuitive interface.
- Create Notes: Add new notes with custom titles and content
- Persistent Storage: Notes are saved locally using localStorage
- Responsive Design: Works seamlessly on mobile and desktop devices
- Color-coded Notes: Each note gets a random background color for easy identification
- Delete Notes: Remove notes with a confirmation dialog
- Real-time Timestamps: Each note displays creation date and time
- Clean UI: Modern, minimalist design with smooth interactions
- HTML5 - Structure and semantics
- CSS3 - Styling and responsive design
- Vanilla JavaScript - Functionality and interactivity
- LocalStorage API - Data persistence
- Google Fonts - Poppins font family
The app is fully responsive and provides optimal viewing experience across:
- ๐ฑ Mobile devices
- ๐ป Tablets
- ๐ฅ๏ธ Desktop computers
- Maximum width constraint for better readability
- Centered content layout
- Optimized textarea with proper text wrapping
- Full-width layout for maximum screen utilization
- Touch-friendly interface
- Optimized font sizes and spacing
- Welcome Section: Personalized greeting with profile picture
- Search Functionality: Search icon for future implementation
- Add Button: Easy-to-access "+" button for creating new notes
- Color Themes: Random color assignment for visual organization
- Smooth Animations: CSS transitions for better user experience
Notes/
โโโ index.html # Main HTML file
โโโ style.css # Stylesheet with responsive design
โโโ script.js # JavaScript functionality
โโโ assets/
โ โโโ cat.jpg # Profile picture
โ โโโ search.svg # Search icon
โโโ README.md # Project documentation
- A modern web browser (Chrome, Firefox, Safari, Edge)
- No additional dependencies required!
-
Clone the repository:
git clone https://github.com/Devnish0/minimalNotes.git
-
Navigate to the project directory:
cd Notes -
Open the application:
-
Simply open
index.htmlin your web browser -
Or use a local server:
# Using Python 3 python -m http.server 8000 # Using Node.js (if you have live-server installed) npx live-server
-
-
Start taking notes! ๐
-
Create a New Note:
- Click the "+" button
- Enter a title (max 20 characters)
- Write your note content in the textarea
- Click "Confirm" to save
-
View Notes:
- All saved notes appear on the main screen
- Each note shows title, date/time, and content preview
- Notes are color-coded for easy identification
-
Delete a Note:
- Click the "remove" button on any note
- Confirm deletion in the popup dialog
- Uses browser's localStorage to save notes
- Data persists between browser sessions
- No server or database required
Each note contains:
- Unique ID (timestamp)
- Title (user-defined, max 20 chars)
- Content (unlimited text)
- Creation timestamp
- Random background color
- Mobile: Full width usage
- Desktop: Max-width of 1200px with centered layout
Edit the color array in script.js:
let color = [`#CBA9FF`, `#D4FF6A`, `#AEE1F9`, `#FFD3A5`, `yellow`];- Main styles are in
style.css - Responsive design uses CSS flexbox
- Font family can be changed in the Google Fonts link
The codebase is modular and easy to extend:
- Add search functionality
- Implement note categories/tags
- Add export/import features
- Include rich text editing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Nishank - @Devnish0
- Google Fonts for the Poppins font family
- Icons and images used in the interface
- Inspiration from modern note-taking applications
Add actual screenshots here showing:
- Main notes view
- Add note interface
- Mobile responsive design
- Desktop layout
โญ If you found this project helpful, please give it a star! โญ
- Search functionality is not yet implemented
- No categories/tags system
- Notes cannot be edited after creation (only delete and recreate)
- Search and filter functionality
- Note editing capabilities
- Categories and tags
- Export notes to different formats
- Dark/light theme toggle
- Note sharing functionality
- Rich text editing
- Cloud sync capabilities
Made with โค๏ธ by Nishank Gangwar