• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

JavaScript write something into a html:<td> with a "if function"

Bennett

New Coder
hi im new at coding and i wanted to make a tic tac toe game but i dont know how to put an X in the <td> if player one clicks on it.
 

BGB

Active Coder
Staff Team
Guardian
There is a tutorial on youtube how to make a tic tac toe game with html, css and javascript. You can follow that tutorial to learn the coding.
And welcome to CodeForum :)
 

Top