Closed spenserg92 closed 11 months ago
The first thing I notice is that you've got one container div main
and you are using grid-template-columns on it as though it only contained the gameboard, but it also contains your wins/losses headers. Try moving them outisde of main. Further, I see we're using justify-content on main, however we're using grid. Justify-content won't have the exact same results as it would normally with flexbox - consider removing it from main for now.
What's the problem you're trying to solve?
Centering my game board and aligning items to center
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
My tiles are not centering on the board
What is your best guess as to the source of the problem?
Css styling and proper placement of html
What things have you already tried to solve the problem?
various css styling options and different html formatting
Paste a link to your repository here
https://github.com/spenserg92/Memory-Game