From 577de54d3f9a4f16c4a1634d098f4dd56449b32c Mon Sep 17 00:00:00 2001 From: Eugene <59817721+SKZGx@users.noreply.github.com> Date: Thu, 18 Apr 2024 19:23:25 +0300 Subject: [PATCH] deleted: test.js --- test.js | 680 -------------------------------------------------------- 1 file changed, 680 deletions(-) delete mode 100644 test.js diff --git a/test.js b/test.js deleted file mode 100644 index 2e0e441..0000000 --- a/test.js +++ /dev/null @@ -1,680 +0,0 @@ -//showcards.js - - -let pageSize; -let allData; -let currentPage; -let modsData; -let otherData; -let filteredData; - -function createModCard(mod) { - const card = document.createElement('div'); - card.classList.add('card'); - - // Call getStatusClasses with modsData and otherData - let statusClasses = getStatusClasses(mod, modsData, otherData); - - - // Only add the status classes if they are not empty - if (statusClasses.length > 0) { - statusClasses.forEach(statusClass => { - card.classList.add(statusClass); // Add each status class to the card - }); - } - - card.id = `${mod.id}`; - - // Populate the card with mod data - card.innerHTML = ` -
від
-