About Chatbot Project
This is a simple JavaScript-based chatbot that provides automated responses based on predefined messages stored in a JSON file. The bot processes user input, matches it against the dataset, and returns relevant responses. If the input is not recognized, it responds with a default message. The project includes:
Message Handling: User input is matched case-insensitively and trimmed for more accurate responses.
Asynchronous Fetching: The bot retrieves predefined messages from a JSON file.
Interactive UI: User messages and bot responses are displayed dynamically within a chat interface.
Input Validation: Prevents sending empty messages.
Custom Animations: Smooth transitions when displaying bot responses.
This chatbot can serve as a starting point for a more advanced AI chatbot system.