Welcome back to another of my Frontend Challenges. In today's frontend challenge, we're going to build an animated add to cart button with 3 different states: a regular state that displays our call to action button text, a "loading" state that lets the user know we are adding the product to the cart, and then finally an "added" state to confirm that product has been added to the cart.
My website
https://www.pixelrocket.store
Download project files (you need this if you want to code along):
https://www.dropbox.com/s/irif55v0u1v...
30 Days Of Frontend Playlist
• 30 Days Of Frontend
Timestamps
0:00 Intro
1:28 Setup Button HTML
3:00 Setup Initial Button Styling
3:52 Setup Button Javascript
8:30 Add Button Animations