Relative Content

Tag Archive for javascript

Vanilla JS TicTacToe Win Logic

I’ve been messing around with some vanilla JS, having gotten too used to frameworks, and was building a simple TicTacToe game, and I am stuck on a certain piece of the win logic and switch players logic. Here is the code (hopefully it’s not too long):

javascript does not redirect to a new page

i have a small problem with my simple chatbot , it has a series of questions and answers driven using php and mysql but the main factor here is the javascript code which is seen below