client-side-validation-of-file-type An example javascript (vanilla) to validate file type using client side validation and accept in the html implementation