-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.html
More file actions
61 lines (52 loc) · 1.85 KB
/
main.html
File metadata and controls
61 lines (52 loc) · 1.85 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Laplace's Demon</title>
<link rel="stylesheet" href="./style.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<!-- Help Modal -->
<div id="helpModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<p>This AI analyzes text to detect potential scams...</p>
<p>Enter text into the box to begin.</p>
</div>
</div>
<!-- Main Content -->
<div class="container">
<div class="content-grid">
<div class="scam-check fancy-scam">
<div class="scam-icon fancy-icon">?</div>
<h2 class="fancy-heading">Is it a scam?</h2>
<p class="fancy-text">Check instantly if a cryptocurrency is a scam or not.</p>
</div>
</div>
<h1>Laplace's Demon</h1>
<textarea id="inputText" placeholder="Enter the name of the coin..."></textarea>
<div class="input-group">
<button id="analyzeButton">Analyze</button>
<button id="clearButton">Clear</button>
</div>
<div id="result" style="white-space: pre-wrap;"></div>
<div id="probability" style="display:none;">
<h2>Scam Probability</h2>
<canvas id="probabilityChart"></canvas>
</div>
<div id="queryHistory">
<h2>Query History</h2>
<ul id="historyList"></ul>
</div>
</div>
<!-- Social Icons -->
<div class="social-icons">
<a href="#" class="social-icon">X</a>
<a href="#" class="social-icon">f</a>
<a href="#" class="social-icon">✉</a>
</div>
<script src="./script.js"></script>
</body>
</html>