News

However, we may often find that our application’s code is cluttered because we’ve used too many nested constructs or branches to validate our business rules. Enter guard clauses.
HTML5 offers form field validation support built into the HTML form input tags that should greatly reduce the need for JavaScript validation code. In this post, I look at some examples of this.