I have a javascript code as below:
function ready() { var items = document.querySelectorAll(\'.item\') for (var i = 0; i < items.length; i++) {