From 0ce1d6e6a4794b961eac64e427c2fc76c3b06d52 Mon Sep 17 00:00:00 2001 From: zhen1007 Date: Mon, 26 Aug 2024 01:15:41 -0400 Subject: [PATCH] task 9 --- travel_recommendation.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/travel_recommendation.js b/travel_recommendation.js index 9daf131..53f1c6e 100644 --- a/travel_recommendation.js +++ b/travel_recommendation.js @@ -66,4 +66,6 @@ searchBtn.addEventListener("click", () => { clearBtn.addEventListener("click", () => { searchInput.value = ""; + const resultDiv = document.getElementById("result"); + resultDiv.innerHTML = "Enter keywork like beaches, temples or countries"; });