valadiated code

W3 school checked, will verify again
code changes made

w3 validation