-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
125 lines (115 loc) · 3.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tutor Prompts Home</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<style>
body {
margin: 20px;
font-family: Arial, sans-serif;
}
.container {
max-width: 800px;
margin: 0 auto;
}
h1 {
text-align: center;
}
.instructions {
text-align: left;
margin-bottom: 10px;
color: green;
weight: bold;
}
.box {
border: 1px solid #ccc;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
background: #f9f9f9;
position: relative;
}
.copy-btn {
float: right;
}
.copy-btn-box {
margin-top: 10px;
}
textarea {
margin-top: 10px;
width: 100%;
}
.links {
text-align: center;
margin-top: 20px;
}
.links a {
margin: 0 10px;
text-decoration: none;
color: #007BFF;
font-weight: bold;
}
.navbar {
background-color: #333;
overflow: hidden;
padding: 1em 0;
}
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.navbar a:hover {
background-color: #ddd;
color: black;
}
.navbar .logo {
font-size: 24px;
font-weight: bold;
font-family: 'Courier New', Courier, monospace;
color: #f2f2f2;
}
</style>
</head>
<body>
<div class="navbar">
<a href="#" class="logo">TutorPrompts</a>
<a href="index.html">Home</a>
<a href="allprompts.html">All Prompts</a>
<a href="help.html">Help</a>
<a href="contact.htm">Contact</a>
</div>
<div class="container">
<h1>Tutor Prompts Home</h1>
<div>
<p>Place for Ai prompts to act as a personal tutor
</p>
<div>
<p><a href="prompt-101.html" target="_blank">101 Show mistakes</a></p>
<p><a href="prompt-301.html" target="_blank">301 Create teaching material</a></p>
</div>
</div>
</div>
<div class="links">
<a href="https://chat.openai.com/" target="_blank">ChatGPT</a>
<a href="https://dillinger.io/" target="_blank">Online Markdown Editor</a>
</div>
<script>
function copyPrompt() {
const promptText = document.getElementById('prompt').value;
navigator.clipboard.writeText(promptText).then(() => {
alert('Prompt copied to clipboard');
}).catch(err => {
console.error('Error copying text: ', err);
});
}
</script>
</body>
</html>