Mavluno Ledger

Your quiet shortlist

Fallows.

Keep promising courses close while you compare paths. These saved items live in this browser and are not shared with Mavluno Ledger.

Return to catalog Talk to an advisor
`; const footerHTML = ``; document.querySelector('header').innerHTML = headerHTML; document.querySelector('footer').innerHTML = footerHTML; const saved = document.getElementById('saved'); const savedIds = () => JSON.parse(localStorage.getItem('mavlunoFavorites') || '[]'); function draw(data) { const ids = savedIds(); const items = data.filter(x => ids.includes(x.id)); saved.innerHTML = items.length ? items.map(x => `

${x.category} · ${x.level}

${x.title}

${x.summary}

`).join('') : '

Your shortlist is ready for its first entry.

Browse the catalog and save a course that fits your next question.

'; } fetch('./catalog.json').then(r => r.json()).then(draw); document.addEventListener('click', e => { if (e.target.dataset.remove) { localStorage.setItem('mavlunoFavorites', JSON.stringify(savedIds().filter(x => x !== e.target.dataset.remove))); fetch('./catalog.json').then(r => r.json()).then(draw); } });