PROD [Live] : https://react-grocery-bud-v2-prod.netlify.app/
- Input box which takes the names of a grocery item and adds it to the list along with the page title Grocery Bud.
- Functionality is
- By default when the application loads, the input will be empty.
- Once an item name is provided in the input and click
Submit
, the item gets added to the list with an toast Item Added To The List. - Every single item added to the list has
Checkbox
andDelete
buttons along with the name. - If the user wants to edit an item to complete, the
Checkbox
button can be clicked which gives a strikethrough indicating that item is completed. - If the user wants to delete an item, the
Delete
button can be clicked which deletes the item from the list with an alert Item Deleted. - Local storage has been implemented to persist the data when the user revisits the application and the sorting order of the other items don't get affected when an item is edited or deleted.
- Styles are handled by
index.css
and toast messages are implemented usingReact Toastify
- To run the project locally, clone the repo,
npm install
to install the dependencies, andnpm run dev
to start up the development server on default port 5173.
HTML, CSS, JavaScript, ECMAScript, React - Hooks ~ useState
Netlify
Note: I have developed this project ~ [11] as part of React 18 Tutorial and Projects Course (2023) taught by John Smilga.