diff --git a/2-copy-of-code/lesson-03/chatbot.html b/2-copy-of-code/lesson-03/chatbot.html
index e8d2d7c..22d4d1d 100755
--- a/2-copy-of-code/lesson-03/chatbot.html
+++ b/2-copy-of-code/lesson-03/chatbot.html
@@ -48,6 +48,8 @@
function handleKeyDown(event) {
if (event.key === 'Enter') {
sendMessage();
+ } else if (event.key === 'Escape') {
+ setInputText('');
}
}