DMCCDOT McCHESNEYWEB DEVELOPMENT & DESIGN
← All projects
LEARNING PLAN 1.3 / PROJECT 04

View Transitions API.

View Transitions API homepage
01 / ABOUT THE WORK

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.

02 / THE TAKEAWAYS

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.

KEEP EXPLORING / LEARNING PLAN 2.1

AI Assisted Front-End Development

→