-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
145 lines (135 loc) · 6.42 KB
/
index.html
File metadata and controls
145 lines (135 loc) · 6.42 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Virtual Coin Toss - Make decisions with a digital coin flip">
<meta name="keywords" content="coin toss, virtual coin, heads tails, decision maker">
<meta name="author" content="Kundan Kumar">
<title>Virtual Coin Toss | Digital Decision Maker</title>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/components.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="assets/icons/favicon.ico">
</head>
<body>
<!-- Navigation -->
<nav class="navbar">
<div class="nav-container">
<div class="nav-brand">
<span class="brand-icon">🪙</span>
<span class="brand-text">Coin Toss</span>
</div>
<div class="nav-menu">
<a href="pages/about.html" class="nav-link">About</a>
<a href="pages/contact.html" class="nav-link">Contact</a>
<button class="btn btn-secondary" onclick="toggleTheme()">
<span class="theme-icon">🌙</span>
</button>
<a href="https://github.com/its-kundan/Coin_Toss" target="_blank" rel="noopener noreferrer" class="btn btn-primary">
<span class="github-icon">📁</span>
GitHub
</a>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="main-content">
<div class="container">
<!-- Hero Section -->
<section class="hero">
<h1 class="hero-title">Virtual Coin Toss</h1>
<p class="hero-subtitle">Make decisions with a digital coin flip</p>
</section>
<!-- Coin Toss Section -->
<section class="coin-section">
<div class="coin-container">
<div class="coin-wrapper">
<div class="coin" id="coin">
<div class="coin-face coin-front">
<span class="coin-text">HEADS</span>
</div>
<div class="coin-face coin-back">
<span class="coin-text">TAILS</span>
</div>
</div>
</div>
<div class="coin-controls">
<button class="btn btn-toss" id="tossButton">
<span class="btn-icon">🪙</span>
Toss Coin
</button>
<button class="btn btn-secondary" onclick="shareResult()" id="shareButton" disabled>
<span class="btn-icon">📤</span>
Share Result
</button>
</div>
<div class="result-display" id="resultDisplay">
<div class="result-text" id="resultText"></div>
<div class="result-stats">
<div class="stat">
<span class="stat-label">Heads:</span>
<span class="stat-value" id="headsCount">0</span>
</div>
<div class="stat">
<span class="stat-label">Tails:</span>
<span class="stat-value" id="tailsCount">0</span>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="features">
<h2 class="section-title">Why Use Virtual Coin Toss?</h2>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">⚡</div>
<h3>Instant Results</h3>
<p>Get your decision in seconds with our fast, reliable coin toss</p>
</div>
<div class="feature-card">
<div class="feature-icon">📱</div>
<h3>Mobile Friendly</h3>
<p>Works perfectly on all devices - desktop, tablet, or mobile</p>
</div>
<div class="feature-card">
<div class="feature-icon">🎯</div>
<h3>Fair & Random</h3>
<p>Uses true randomization for unbiased results every time</p>
</div>
</div>
</section>
</div>
</main>
<!-- Footer -->
<footer class="footer">
<div class="footer-container">
<div class="footer-content">
<div class="footer-brand">
<span class="brand-icon">🪙</span>
<span class="brand-text">Coin Toss</span>
</div>
<p class="footer-description">Making decisions easier in the digital age</p>
</div>
<div class="footer-social">
<a href="https://twitter.com/kundan_k_" target="_blank" rel="noopener noreferrer" class="social-link">
<img src="assets/icons/x.png" alt="Twitter" class="social-icon">
</a>
<a href="https://www.linkedin.com/in/its-kundan/" target="_blank" rel="noopener noreferrer" class="social-link">
<img src="assets/icons/icons8-linkedin-50.png" alt="LinkedIn" class="social-icon">
</a>
<a href="https://github.com/its-kundan" target="_blank" rel="noopener noreferrer" class="social-link">
<img src="assets/icons/github.png" alt="GitHub" class="social-icon">
</a>
</div>
<div class="footer-bottom">
<p>© 2024 Kundan Kumar. All rights reserved.</p>
</div>
</div>
</footer>
<script src="js/app.js"></script>
</body>
</html>