Skip to content

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.

test: the Popular suggestions' comment says what it compares with in plain words

matin5f5a6061fc13
diff --git a/tests/pages.test.js b/tests/pages.test.js
index a9ad564b..649e9294 100644
--- a/tests/pages.test.js
+++ b/tests/pages.test.js
@@ -585,7 +585,7 @@ test('the search finds what a visitor describes, and each Popular suggestion kee
for (const name of ['2.5D / Pseudo-3D', 'Depth-Map Photo']) assert.ok(parallax.includes(name), `"parallax" finds ${name}: ${parallax.join(', ')}`);
const change = page.search('page change animation')[0];
assert.equal(change.cat.name, 'Page Transitions', `"page change animation": ${change.name} first`);
- // The Popular suggestions, in the hero and in the Nothing-found panel, each with the first result it had before SAME.
+ // The Popular suggestions, in the hero and in the Nothing-found panel, each with the first result it had before the groups.
const popular = { 'fade in': 'Fade In / Fade Out', 'typing text': 'Kinetic Typography', 'loading spinner': 'Loading Spinner', parallax: 'Parallax Depth-of-Field',
confetti: 'Success Confetti' };
for (const panel of [between(HOME, '<p class="pop"><span>Popular:</span>', '</p>'), between(HOME, '<div class="empty" id="empty"', '</div>')]) {