diff --git a/app.js b/app.js new file mode 100644 index 0000000..b76ace1 --- /dev/null +++ b/app.js @@ -0,0 +1,4 @@ +function clearSearch() { + document.getElementById('search-input').value = ''; // Clear the search input + document.getElementById('search-input').focus(); // Focus on the input after clearing +}