sei-ec-remote / project-1-issues

Open new issues here
1 stars 2 forks source link

Unable to build the arrays in JS #195

Closed plusflora closed 11 months ago

plusflora commented 11 months ago

What's the problem you're trying to solve?

rendering a board, I followed along with the connect 4 thing a couple times and have looked

Post any code you think might be relevant (one fenced block per file)

function renderBoard() {
    board.forEach((colArr, colIdx) => {
        console.log('colArr', colArr)
        console.log('colIdx', colIdx)
    })
}

If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?

I would expect to see my console return the arrays with index values.

image

What is your best guess as to the source of the problem?

I may have built my html wrong or something else but I'm lost at this point

What things have you already tried to solve the problem?

I've followed along with the connect 4 thing a couple times - and checked what others have done in building the same game (honestly, nobody is doing it like this which kinda worries me)

Paste a link to your repository here

https://github.com/plusflora/Project-1

plusflora commented 11 months ago

resolved, slight syntax error