-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (76 loc) · 3.84 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PlayTicTacToe</title>
<link rel="shortcut icon" href="img2.jpeg">
<!-- bootstrap link css -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<!-- Font awesome link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<img src="img2.jpeg" class="site_icon" alt="website logo">
<a class="navbar-brand" href="index.html">PlayTicTacToe.com</a>
<div class="collapse navbar-collapse" id="navbarNav">
</div>
</div>
</nav>
<!-- play and pause buttons -->
<audio src="music.mp3" id="bgmusic"></audio>
<h3 class="music_h3">Want Music?🎧</h3>
<button type="button" onclick="playAudio()" class="btn-success mx-3 play_button" id="play">Play</button>
<button type="button" onclick="pauseAudio()"class="btn-secondary pause_button" id="pause">Pause</button>
<!-- English Modal -->
<div class="modal fade" id="englishModal" tabindex="-1" aria-labelledby="englishModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Want To Play Tic Tac Toe</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">No</button>
<a href="main.html"><button type="button" class="btn btn-primary">Yes,Let's Play</button></a>
</div>
</div>
</div>
</div>
<!-- Hindi Modal -->
<div class="modal fade" id="hindiModal" tabindex="-1" aria-labelledby="hindiModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Zero Kata Kheloge?</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Nhi</button>
<a href="main.html"><button type="button" class="btn btn-primary">Chalo,Khelte Hai!</button></a>
</div>
</div>
</div>
</div>
<div class="container_start">
<h1 id='heading'>Welcome to PlayTicTacToe!</h1>
<div class="language text-center">
<h2 class="text-white">Select your language to Continue :</h2>
<button type="button" class="btn-danger button_e" data-bs-toggle="modal" data-bs-target="#englishModal">English</button>
<button type="button" class="btn-primary button_h" data-bs-toggle="modal" data-bs-target="#hindiModal">Hindi</button>
</div>
</div>
<!-- jquery bootstrap -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<!-- bootstrap js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>