diff --git a/06 - Type Ahead/index-FINISHED.html b/06 - Type Ahead/index-FINISHED.html index 53c36248b0..3b740415b3 100644 --- a/06 - Type Ahead/index-FINISHED.html +++ b/06 - Type Ahead/index-FINISHED.html @@ -53,8 +53,7 @@ const searchInput = document.querySelector('.search'); const suggestions = document.querySelector('.suggestions'); -searchInput.addEventListener('change', displayMatches); -searchInput.addEventListener('keyup', displayMatches); +searchInput.addEventListener('input', displayMatches);