working on validations js
js validation implemented and errors styled