diff --git a/index.html b/index.html
index 4793879..4eaf969 100644
--- a/index.html
+++ b/index.html
@@ -2,6 +2,7 @@
My First Chatbot
+
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..f2dec6b
--- /dev/null
+++ b/script.js
@@ -0,0 +1,19 @@
+const chatBotObject = {input:"How are you",output:"Great!"}
+function reply() {
+ let question = document.getElementById("input").value
+ if (chatBotObject.input === question) {
+ document.getElementById("output").value = chatBotObject.output
+ } else {
+ document.getElementById("output").value = "I don't understand that command. Please enter another."
+ }
+
+}
+
+document.getElementById("submit").addEventListener("click", function() {reply()})
+
+
+
+
+console.log(chatBotObject)
+
+