forked from vqbc/trivial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
259 lines (259 loc) · 9.23 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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Trivial Clone Math Practice</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Free AMC trainer and math learning: AMC practice problems, problem sets, mock tests with real questions from the AMC 8, AMC 10, AMC 12, AIME, and more."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://amctrivial.com/" />
<meta property="og:title" content="Trivial Math Practice" />
<meta
property="og:description"
content="Free AMC trainer and math learning: AMC practice problems, problem sets, mock tests with real questions from the AMC 8, AMC 10, AMC 12, AIME, and more."
/>
<meta
property="og:image"
content="https://amctrivial.com/icons/favicon-192x192.png"
/>
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Trivial Math Practice" />
<meta
name="twitter:description"
content="Free AMC trainer and math learning: AMC practice problems, problem sets, mock tests with real questions from the AMC 8, AMC 10, AMC 12, AIME, and more."
/>
<meta
name="twitter:image"
content="https://amctrivial.com/icons/favicon-192x192.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/icons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/icons/favicon-192x192.png"
/>
<link rel="manifest" href="/icons/site.webmanifest" />
<meta name="theme-color" content="hsl(191deg 42% 42%)" />
<meta name="color-scheme" content="light dark" />
<script>
if (JSON.parse(localStorage.getItem("darkTheme"))) {
document
.querySelector("meta[name='color-scheme']")
.setAttribute("content", "dark");
}
if (JSON.parse(localStorage.getItem("darkTheme")) == false) {
document
.querySelector("meta[name='color-scheme']")
.setAttribute("content", "light");
}
</script>
</head>
<body>
<script>
if (
JSON.parse(localStorage.getItem("darkTheme")) ||
(JSON.parse(localStorage.getItem("darkTheme")) === null &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
document.body.style = "background: hsl(201deg 8% 12%)";
}
</script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.1/css/ion.rangeSlider.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/tagify/4.9.4/tagify.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.15.1/katex.min.css"
/>
<link
href="/fonts/tex-gyre-pagella/pagella-regular.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/tex-gyre-pagella/pagella-italic.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/tex-gyre-pagella/pagella-bold.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/computer-modern/bright/bright-regular.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/computer-modern/bright/bright-semi.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/computer-modern/bright/bright-semiitalic.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/computer-modern/sans/sans-regular.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/computer-modern/sans/sans-italic.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/computer-modern/sans/sans-bold.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/computer-modern/sans/sans-demi.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link
href="/fonts/fira-mono/fira-regular.woff2"
rel="preload"
as="font"
crossorigin="anonymous"
/>
<link href="/src/fonts.css" rel="stylesheet" />
<link id="stylesheet-link" href="/src/styles.css" rel="stylesheet" />
<script>
if (
JSON.parse(localStorage.getItem("darkTheme")) ||
(JSON.parse(localStorage.getItem("darkTheme")) === null &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
let darkStyles = document.createElement("link");
let styles = document.querySelector("#stylesheet-link");
darkStyles.id = "dark-stylesheet-link";
darkStyles.href = "/src/dark.css";
darkStyles.rel = "stylesheet";
styles.after(darkStyles);
}
</script>
<div class="page-container">
<script>
if (
JSON.parse(localStorage.getItem("darkTheme")) ||
(JSON.parse(localStorage.getItem("darkTheme")) === null &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
document.querySelector(".page-container").style =
"background: hsl(201deg 8% 15%)";
}
</script>
<header>
<h1 class="header">
<a href="/">Trivial Clone.</a>
<svg width="15" height="30" viewBox="0 0 132.29 264.58" class="logo">
<title>
The Trivial logo is supposed to be a QED symbol (□) — the name<!--
--> Trivial represents the general and time-saving solution to<!--
--> any mathematical question, as well as how this site was<!--
--> (not) trivial to make.
</title>
<path
d="M 34.396002,2.1733e-6 V 264.58 L 0,227.522 V 24.022002 Z"
fill="#4499aa"
></path>
<path
d="M 132.296,40.179 50.274971,0 V 264.58 L 132.296,202.596 Z"
fill="#44bbaa"
></path>
</svg>
</h1>
<p class="subtitle">Studying & Practicing — AoPS Wiki Powered</p>
<div id="progress"></div>
</header>
<main>
<a href="" id="next-problem" hidden>Next Problem</a>
<div id="problem-text"></div>
<div class="answer-check">
<form class="options-input answer-options" onsubmit="return false">
<input class="input-field" id="input-answer"
type="text" placeholder="Enter answer"/>
<button type="submit" class="input-button" id="check-answer">
Check Answer
</button>
</form>
<div id="gold-answer" hidden></div>
<div id="page-name" hidden></div>
</div>
<div id="solutions-text"></div>
</main>
<footer>
<p class="footer-line disclaimer printonly">
Using content from the
<a
id="aops-wiki-link"
href="https://artofproblemsolving.com/wiki/index.php/"
>AoPS Wiki</a
>
|
<a href="https://amctrivial.com/">amctrivial.com</a>
</p>
<p class="footer-line siteinfo noprint">
<button class="text-button" id="dark-toggle" tabindex="0">
System theme
</button>
| <a href="/about">About</a><span class="bullet"> ⋅ </span
><span class="mobile-break"><br /></span>
<a href="https://github.com/junfengzh/trivial">Github</a> ⋅
<a href="https://discord.gg/VExpSZfkAE">Discord</a> ⋅
<a href="https://forms.gle/3ofW7BQ5g5UBmknH9">Contact</a>
</p>
</footer>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tagify/4.9.8/jQuery.tagify.min.js"></script>
<!-- <script
crossorigin
src="https://unpkg.com/react@18/umd/react.development.js"
></script>
<script
crossorigin
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.1/js/ion.rangeSlider.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.0/katex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.0/contrib/copy-tex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.0/contrib/mhchem.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.11/clipboard.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/5.22.1/vega.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/5.3.0/vega-lite.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/6.21.0/vega-embed.min.js"></script>
<script src="src/index.js"></script>
</body>
</html>