From a33e99d1015acb3888d5468e85aba20daf7e8905 Mon Sep 17 00:00:00 2001 From: ali allam 74 <74133694+aliallam742@users.noreply.github.com> Date: Thu, 11 Jan 2024 14:58:30 +0200 Subject: [PATCH] Update main.js --- js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 0c35672..2f88536 100644 --- a/js/main.js +++ b/js/main.js @@ -30,6 +30,7 @@ function displayData(){ return new Promise(function (callback){ var cartona = ``; var images ="" + console.log(allPosts) for(var i = 0 ; i < allPosts.length ; i++){ images=allPosts[i].urlToImage if(images == null){ @@ -86,4 +87,4 @@ contries("eg") // ` // } // newsData.innerHTML = cartona; -// } \ No newline at end of file +// }