Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series




yours forever

Become a Pro and unlock everything




per month

Animating Our Accordion With the Web Animations API

Now that we have updated our accordion component, we still need to get the animation working for it so we will use the web animations API to accomplish that.


Become a pro to download code and videos



about 1 year ago

great tutorial, as always :) repo link is leading to a 404 though...


about 1 year ago [edited]
height: `${initialHeight}px` 

taking on px is breaking the accordion animation in Chrome

it is working for me without px 🤷‍♂️

Want to join the conversation?

Become a Pro member today!