Search Bar - Beta
diff --git a/js/modal.js b/js/modal.js
index 38690df..4138fde 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -10,16 +10,24 @@
 // When the user clicks the button, open the box 

 searchButton.onclick = function() {

     searchBox.style.display = "block";

+	// Focus on the search input bar

+	document.getElementById("searchInput").focus();

 }

 

 // When the user clicks on <span> (x), close the box

 closeBox.onclick = function() {

     searchBox.style.display = "none";

+	// Empty the input bar

+	var searchInput = document.getElementById('searchInput');

+	searchInput.value = "";

 }

 

 // When the user clicks anywhere outside of the box, close it

 window.onclick = function(event) {

     if (event.target == searchBox) {

         searchBox.style.display = "none";

+		// Empty the input bar

+		var searchInput = document.getElementById('searchInput');

+		searchInput.value = "";

     }

 }
\ No newline at end of file