Web Components On Fire
This is a very simple custom element. It’s only about 60 lines of code, with no Shadow DOM or styles of any kind. In fact, our demo form has more CSS than there is JavaScript here.
The browser does all of the input validation for us. We just need to grab the data and fire it off to the server, communicating the results of that request to the user via CSS states