-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (30 loc) · 894 Bytes
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Random Title Generator</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css"
rel="stylesheet"
/>
</head>
<body class="flex items-center justify-center h-screen bg-gray-100">
<div class="flex flex-col items-center w-1/2">
<input
type="text"
id="title-input"
readonly
class="border border-gray-300 p-2 rounded mb-4 w-full text-center"
placeholder="Generated Title"
/>
<button
id="generate-button"
class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600"
>
Generate Title
</button>
</div>
<script type="module" src="./src/index.ts"></script>
</body>
</html>