linked script file

After running the code I realized the index file was not linked to the
script file. had to add that to the HTML file