Enjambre Discografia -

// añadir efecto de pequeño detalle extra: click en estadística para resetear búsqueda opcional (doble click) statsSpan.addEventListener('dblclick', () => { searchInput.value = ''; currentSearch = ''; render(); searchInput.focus(); }); // tooltip informal statsSpan.title = "Doble clic para limpiar búsqueda"; </script> </body> </html>

let currentFilter = 'all'; // all, estudio, ep, live let currentSearch = ''; enjambre discografia

<!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> <title>Enjambre · Discografía Esencial</title> <link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,700&display=swap" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> <style> * { margin: 0; padding: 0; box-sizing: border-box; } // añadir efecto de pequeño detalle extra: click

// construcción de cards let html = ''; for (let album of filteredData) { // tipo legible let typeLabel = ''; let typeIcon = ''; if (album.type === 'estudio') { typeLabel = 'Álbum de estudio'; typeIcon = '🎙️'; } else if (album.type === 'ep') { typeLabel = 'EP / Extended Play'; typeIcon = '💿'; } else if (album.type === 'live') { typeLabel = 'En vivo / Concierto'; typeIcon = '🎤'; } { searchInput.value = ''

/* custom scroll */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: #ddd2c4; } ::-webkit-scrollbar-thumb { background: #aa7e5a; border-radius: 8px; }