added . before index in answerHTML