176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
chore: every link in a mode note must open an existing page, now that lesson 21 exists
matin853e7d41eb96
diff --git a/tests/pages.test.js b/tests/pages.test.jsindex 30e7df1f..6d59d9e6 100644--- a/tests/pages.test.js+++ b/tests/pages.test.js@@ -309,7 +309,7 @@ for (const d of steps.filter(d => pageOf(d).includes('data-hb-modes'))) {const notes = between(watch, '<div class="hb-mode-notes" aria-live="polite">', '</div>');assert.ok(notes && watch.indexOf(notes) > watch.indexOf('<div class="hb-player">'), 'the notes come after the player bar');for (const mode of ['inside', 'compare']) assert.equal(count(notes, `<p data-hb-for="${mode}" hidden>`), 1, `one ${mode} note, hidden at first`);- for (const [, href] of notes.matchAll(/<a href="([^"]+)"/g)) assert.ok(isDemoDir(path.resolve(d.dir, href)) || href.includes('/learn/'), `note link ${href}`);+ for (const [, href] of notes.matchAll(/<a href="([^"]+)"/g)) assert.ok(isDemoDir(path.resolve(d.dir, href)), `note link ${href}`);});}