- This project is a React application for managing a list of celebrities. It allows users to search, view, edit, and delete celebrity details with a user-friendly interface.
- Search Functionality: Search for celebrities by name.
- Accordion View: View and manage celebrity details in an accordion layout.
- Clicking on the same item again collapses it.
- Manages + and - icons based on the open or collapsed state.
- Edit celebrity details in-place if they are an adult.
- Save or cancel changes.
- Delete celebrities with a confirmation alert.
- Calculate age based on date of birth.
- Gender as a dropdown.
- Country as a text field.
- Description as a text area.
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/Factwise.git cd react-app
-
Install dependencies:
npm install
-
Run the application::
npm run dev