home game light on and off or Math Game Thanks For Your Great Tutorial
@AngleBrace2 жыл бұрын
@@ncsgaming4093 Thanks I will try my best
@manushreemallaraju23692 жыл бұрын
@Angle Brace Chessboard. Thanks for your easy and understandable tutorial.
@manushreemallaraju23692 жыл бұрын
Hi @Angle Brace, I have searched so many other tutorials out there, which are very fancy and complicated. But I found your tutorial very helpful. As it finds easier for a beginner to understand and implement. Keep up the great work. 🤩
@AngleBrace2 жыл бұрын
I am glad you liked it I can't thank you enough for your support
@cyrilkariyawasam977 Жыл бұрын
Thank you, very simple and easy to understand for beginners.
@aayushlamsal-i8e Жыл бұрын
thank you brother....im a beginner and found your code very easy to understand....you makes me full clear
@Ajjones012 жыл бұрын
One of the simplest tutorials on KZbin. Thanks!
@AngleBrace2 жыл бұрын
I am glad you liked it
@Alex-dg3nc2 жыл бұрын
where did you learned coding bro.pls reply
@nosh81722 жыл бұрын
Thanks for the tutorial, really helpful, and you sound like a nice guy!
@AngleBrace2 жыл бұрын
Thanks a lot it makes my day 💕
@fahmah723 жыл бұрын
Great tutorial. Keep it up, brother 🖤
@AngleBrace3 жыл бұрын
Many mant thanks
@mustafasaid-ahmed92792 жыл бұрын
I’m having trouble with the interactive part. Everything was fine until you hopped onto JavaScript. My webpage isn’t responsive(not showing x or o when I click on the cells) Any suggestions?
@razarukhsar8479 Жыл бұрын
X and O
@razarukhsar8479 Жыл бұрын
U have to add it
@aleyna56012 жыл бұрын
its not alerting winner when winner did the combination, its alterting after other player plays
@samu_80003 жыл бұрын
Nice :)
@AngleBrace3 жыл бұрын
Well Thank you 💓
@manushreemallaraju23692 жыл бұрын
Hello Everyone: Seems like after the player is won, the board still accepts the click events, so use the code below. See the comments with the code. let flag = false; checkForWinner = () => { if (check) { highlightCells(combination); flag = true; // make the flag true, if player has won. } } cells.forEach((cell) => { if (flag) { return } //if the player has won, then return.. else { cell.innerHTML = currentPlayer; /**After each move we need to check for the winner.. */ checkForWinner(); // before that create winning combinations.. currentPlayer = currentPlayer == 'X' ? 'O' : 'X' /* allow to change the player type after inserting, should be prevented.. */ } }