function personal

js file linked to html and tested