made changes to code for even numbers

made changes to code for even numbers and linked my js to my html file