You should use document.querySelectorAll('h1 span') to get all span item. Then you can use Array.forEach to get character and index.
確定! 回上一頁