Skip to content

Commit c024c65

Browse files
authored
add shane.html
1 parent d19773a commit c024c65

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

shane.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Shayne</title>
7+
<style>
8+
body {
9+
font-family: 'Comic Sans MS', cursive, sans-serif;
10+
}
11+
#text {
12+
font-size: 24px;
13+
}
14+
</style>
15+
</head>
16+
<body>
17+
<h1>Welcome to Shayne</h1>
18+
<p>An app generated by GPT-4</p>
19+
<p>Type your text below, and it will be displayed in Comic Sans:</p>
20+
<input type="text" id="inputText" placeholder="Enter your text here">
21+
<button onclick="displayText()">Submit</button>
22+
<p id="text"></p>
23+
24+
<script>
25+
function displayText() {
26+
const inputText = document.getElementById('inputText');
27+
const text = document.getElementById('text');
28+
text.innerHTML = inputText.value;
29+
inputText.value = '';
30+
}
31+
</script>
32+
</body>
33+
</html>

0 commit comments

Comments
 (0)