From d8c8d68f370050f7f1d2d0fbd1d5a42f1dc30072 Mon Sep 17 00:00:00 2001 From: Parth Seth Date: Mon, 1 Apr 2024 01:50:10 +0530 Subject: [PATCH] remove console logs --- assets/js/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/assets/js/index.js b/assets/js/index.js index 6e0a202..583c330 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -10,7 +10,6 @@ const fetchData = async (value) => { const responseData = await response.json(); if (response.ok) { loading = false; - console.log(responseData); const [contentSearch, titles, contents, Urls] = responseData; const sectionHTML = document.createElement("section"); if (titles.length > 0) { @@ -60,12 +59,10 @@ function loadDataSearch() { } btnSearch.addEventListener("click", function (evt) { evt.preventDefault(); - console.log(evt.code); loadDataSearch(); }); svgSearch.addEventListener("click", function (evt) { evt.preventDefault(); - console.log(evt.code); loadDataSearch(); })