aiscroll commited on
Commit
d3227a2
·
verified ·
1 Parent(s): 2e51ea9

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +36 -19
index.html CHANGED
@@ -1,19 +1,36 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <title>How WouldYouRather.cc Works</title>
6
+ <style>
7
+ body { font-family: Arial, sans-serif; padding: 2rem; background: #f9f9f9; color: #333; }
8
+ pre { background: #eee; padding: 1rem; overflow-x: auto; border-radius: 5px; }
9
+ a { color: #0077cc; text-decoration: none; }
10
+ a:hover { text-decoration: underline; }
11
+ </style>
12
+ </head>
13
+ <body>
14
+ <h1>How WouldYouRather.cc Works</h1>
15
+ <p>This is a fun site that provides random "Would You Rather" questions for games or icebreakers.</p>
16
+ <h2>Simple Random Question Demo</h2>
17
+ <pre>
18
+ &lt;button onclick="showQuestion()"&gt;Show Question&lt;/button&gt;
19
+ &lt;div id="question"&gt;&lt;/div&gt;
20
+
21
+ &lt;script&gt;
22
+ const questions = [
23
+ "Would you rather fly or be invisible?",
24
+ "Would you rather have a pet dragon or a pet unicorn?",
25
+ "Would you rather live in the city or the countryside?"
26
+ ];
27
+
28
+ function showQuestion() {
29
+ const index = Math.floor(Math.random() * questions.length);
30
+ document.getElementById('question').textContent = questions[index];
31
+ }
32
+ &lt;/script&gt;
33
+ </pre>
34
+ <p>Try it live at <a href="https://wouldyourather.cc" target="_blank" rel="noopener noreferrer">wouldyourather.cc</a></p>
35
+ </body>
36
+ </html>