Is there anyone who can solve this JavaScript challenge? [closed]

Click Here to see the README of the challenge.

PS: Challenge is in the screenshot.

I couldn’t understand the whole challenge. I got it that you have to start the cadence from 0 and then you add 1 or 2 based on whether a symbol is special or not. And I saw that the challenge gives you coordinates for the special symbols, but I have no clue how to do it with JavaScript. I mean, matrix is a topic which I struggle with… rows and columns, it just bugs my mind. Can anyone explain the challenge to me in simpler words? And I’d like to see the code, if possible. Explanation + solution = my happiness.

Actually, I just created some variables and I don’t even think it was right. I expect someone to explain how to find the special symbols, and how it would be in JavaScript. Probably a for() or while(), but I can’t think of any solution.