Press ESC to close

how to make an ai chatbot in javascript