0% found this document useful (0 votes)
4 views1 page

HTMLTTTT

This document is an HTML template for a Tic Tac Toe game. It includes a game board with cells for player moves, a restart button, and a message area for game status. The layout is styled with an external CSS file and functionality is provided by a linked JavaScript file.

Uploaded by

nadafaaliya1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

HTMLTTTT

This document is an HTML template for a Tic Tac Toe game. It includes a game board with cells for player moves, a restart button, and a message area for game status. The layout is styled with an external CSS file and functionality is provided by a linked JavaScript file.

Uploaded by

nadafaaliya1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="game-container">
<h1>Tic Tac Toe</h1>
<div class="board">
<div class="cell" data-index="0"></div>
<div class="cell" data-index="1"></div>
<div class="cell" data-index="2"></div>
<div class="cell" data-index="3"></div>
<div class="cell" data-index="4"></div>
<div class="cell" data-index="5"></div>
<div class="cell" data-index="6"></div>
<div class="cell" data-index="7"></div>
<div class="cell" data-index="8"></div>
</div>
<button class="reset-btn">Restart Game</button>
<p class="message"></p>
</div>
<script src="script.js"></script>
</body>
</html>

You might also like