Giter Site home page Giter Site logo

gretchenfitze / billing-form Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 7.0 1.39 MB

Demo page for user-friendly billing form features

Home Page: https://billing-form.herokuapp.com/

JavaScript 61.01% HTML 14.46% CSS 24.53%
frontend front-end ux billing-form credit-card bank-card halter banks-db masker luhn-algorithm

billing-form's Issues

Use Autoprefixer

  -webkit-transition: background 0.6s, color 0.6s;
  transition: background 0.6s, color 0.6s;

should be replaced just to:

  transition: background 0.6s, color 0.6s;

Better BEM

Awesome that you use BEM-like isolation. But using real BEM naming could improve readability.

  1. You should use different separator for block/element and between words. card_bank-name instead of card-bank-name. What if you will add card-bank block in future? :D
  2. Avoid nested elements. .card_label instead of .card_date_label.
  3. Avoid global unprefixed styles. .card_label.is-invalid instead of .invalid.

WOFF/WOFF2 for font

Halter archive contains only .ttf font file format. But WOFF and WOFF2 has less size.

I like that current font section in article is so simple. Maybe we could show simple .ttf example in article, but use better woff and woff2 files in repository?

But I ma not sure, up to you.

Better contrast

Current light-gray placeholder has very low contrast with white from background.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.