forked from daattali/beautiful-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshane.html
33 lines (32 loc) · 933 Bytes
/
shane.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shayne</title>
<style>
body {
font-family: 'Comic Sans MS', cursive, sans-serif;
}
#text {
font-size: 24px;
}
</style>
</head>
<body>
<h1>Welcome to Shayne</h1>
<p>An app generated by GPT-4</p>
<p>Type your text below, and it will be displayed in Comic Sans:</p>
<input type="text" id="inputText" placeholder="Enter your text here">
<button onclick="displayText()">Submit</button>
<p id="text"></p>
<script>
function displayText() {
const inputText = document.getElementById('inputText');
const text = document.getElementById('text');
text.innerHTML = inputText.value;
inputText.value = '';
}
</script>
</body>
</html>