Today I built my own Tic Tac Toe game using JavaScript, CSS,...

Developer Raham

Developer Raham

Today I built my own Tic Tac Toe game using JavaScript, CSS, and HTML.
What I used:
Arrays to track the positions selected by players X and O.
Buttons to display the player's value (X or O).
Events, functions, loops, array methods, and querySelector for game logic and interactivity.
What I learned:
How to track button positions using arrays.
How to dynamically update and manipulate the webpage using JavaScript.
Like this project

Posted Dec 3, 2025

Today I built my own Tic Tac Toe game using JavaScript, CSS, and HTML. What I used: Arrays to track the positions selected by players X and O. Buttons to dis...