edited css, added header, and set input attributes