I forgot to commit frequently... just so excited to have the code working! I have added a 'game-win' event that alerts who has won. The 'game-win' event is triggered when one of the conditions under the function checkForWinner has been met. I extended the checkForWinner conditions to include all 8 possible combinations for winning. Last I added an if/else statement to the 'click' event on line 44 that checks to see if a space has already been clicked on. If it has already been clicked on, then there will be an alert and currentPlayer may then select another space.
Changed if statement on line 48 to use a truthy statement.
Add button to html that starts with css set to display: none; When 'game-win' event is triggered: hide the board, change h3 text, show new-game button; Add javascript to reload page(restart game) when new-game button is clicked.