provided a note to users about keyPressed function in the index.html