Anant Infomedia interview question

I was asked to Create a form with validations