Appsafe Club Review

/* filters & search */ .filters-panel background: white; border-radius: 24px; padding: 1.2rem 1.5rem; margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; box-shadow: 0 2px 8px rgba(0,0,0,0.03); border: 1px solid #e0edf2;

.nav-links a:hover color: #ffcd3c;

.app-category font-size: 0.7rem; background: #e9f0f3; display: inline-block; padding: 0.2rem 0.6rem; border-radius: 30px; margin-top: 4px; appsafe club

.nav-links display: flex; gap: 1.8rem; margin-top: 0.5rem; /* filters & search */

.logo span background: #ffcd3c; color: #1a4a5f; padding: 0.2rem 0.6rem; border-radius: 40px; font-size: 1rem; margin-left: 8px; vertical-align: middle; padding: 1.2rem 1.5rem

function renderApps() let filtered = [...appsData]; // category filter if (currentFilterCategory !== "all") filtered = filtered.filter(app => app.category === currentFilterCategory); // search filter (name + desc) if (currentSearchTerm.trim() !== "") app.desc.toLowerCase().includes(term)); // safety threshold if (currentSafetyThreshold > 0) filtered = filtered.filter(app => app.score >= currentSafetyThreshold); const container = document.getElementById("appsContainer"); if (filtered.length === 0) container.innerHTML = `<div style="grid-column:1/-1; text-align:center; padding:3rem; background:white; border-radius:32px;">🤔 No apps match your filters. Try adjusting safety threshold or search.</div>`; return; container.innerHTML = filtered.map(app => app.trackers === "None" ).join(''); // attach event listeners to each "view report" button document.querySelectorAll('.review-btn').forEach(btn => btn.addEventListener('click', (e) => const appId = parseInt(btn.getAttribute('data-id')); const app = appsData.find(a => a.id === appId); if (app) openModal(app); ); );