Tic tac toe game using Vanilla JavaScript, HTML, and CSS

Solution retrospective
I decided to build this project using Vanilla JavaScript, HTML, and CSS to practice the basics and deepen my understanding of the core foundations.
The difficulties I encountered was creating the logic for the winning combinations and next round functions. I also had issues with the hover effects for the game board cells. Depending on what mark the user chooses to play as it should correctly hover either X or O, but when the game is played on a mobile screen the hover effect is removed. I'm planning on implementing the Minimax algorithm but for now the computers moves are random.
After testing my project I believe it should be working fine, but if anyone encounters any errors on their end I would appreciate the feedback. Thanks!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Isabella Lizarde's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord