diff --git a/js/index.js b/js/index.js
index 17452e23..7937d706 100644
--- a/js/index.js
+++ b/js/index.js
@@ -1,2 +1,8 @@
-// using this file is optional
-// you can also load the code snippets in using your browser's console
+// messing around with adding event listeners and displaying variables after
+input.addEventListener('keydown', function(e) {
+ var info = '';
+ info = info + e.key;
+ if (e.key === 'enter') {
+ console.log(info);
+ }
+});