Open paulproteus opened 5 years ago
Expected behavior: It should go back to the beginning of the poem when you click the last line.
Actual behavior: It says "undefined" and then gets stuck there.
I think the problem is in poem.js. Can somebody fix this?
I will work on this issue.
There was an issue with the array. To make array rotate, it was modified to document.getElementById("line").innerHTML=poem[line%poem.length];
Expected behavior: It should go back to the beginning of the poem when you click the last line.
Actual behavior: It says "undefined" and then gets stuck there.
I think the problem is in poem.js. Can somebody fix this?