Card – make your credit card form better in one line of code

by Kasper Tidemann

Setting up payment options for the next big thing you’re just about to launch can be somewhat of a pain. Not only do you have to integrate with oftentimes curiously-looking APIs, it also has to be a pleasant experience for others to give you money.

Jesse Pollak has taken a stab at the latter with his Card project. It’s a JavaScript-based drop-in for setting up and styling a div with common payment options. Card identifies the kind of credit card you’re using based on what you type in and sports some neat transitions between payment steps. Check it our for yourself at GitHub.