Create a new Javascript file called index.js and link to it from the index.html file.