forgot to point to code.js instead of code2.js in index.html