View Transitions API.
Project overview
For Learning Plan 1.2, I built a website that explains and demonstrates the View Transitions API. I used CSS to add animated transitions between pages and JavaScript to animate a card when visitors click a button to change its content. The site includes code examples and an interactive demo so visitors can see how both types of transitions work.
A moment to reflect✳
Reflection
I had worked with CSS animations before, so I was interested to see how the browser could handle the animation between two versions of the same card. The trickiest part was testing what would happen in a browser without support for the API. I temporarily bypassed the animation in my JavaScript and confirmed that the button still updated the card. On future projects, I want to test that fallback early so I know the feature works for visitors with different browsers.