Implementation of sample-form.html using JS and CSS