querySelectorAll only gives output for one div in grid after forEach() loop

Recently, I have been trying to create a wordle game but with 8 letters, and it has been going well, though, when I input my answer into the div boxes, only the first div gets a response when I click the big “CHECK” button. I am attempting to use a forEach() loop to solve this problem but I am still only getting one div to get an output… could someone please help me? Also, I want it to work for the multiple divs in the grid, just for clarification.