Home
Tutorial
JavaScript Games
Build Beautiful Tic Tac Toe Game with Pure JavaScript
Online HTML Editor : Tic Tac Toe Result Screen
Run Output
Output Rosolution:
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Tic Tac Toe Result Screen</title> <style> .result{ position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; flex-direction: column; } .result h1{ color: #fff; font-size: 50px; background: rgba(0,0,100,0.5); padding: 15px 25px; } .result button{ font-size: 36px; background: #0909ad; color: #fff; border-radius: 10px; cursor: pointer; padding: 10px 25px; } </style> </head> <body> <div class="result"> <h1>X Win the Game</h1> <button>Restart</button> </div> </body> </html>