File size: 883 Bytes
fcf2c73
dff5471
fcf2c73
 
dff5471
 
 
fcf2c73
 
 
dff5471
 
5fbc663
dff5471
 
 
 
 
 
 
 
 
 
fcf2c73
 
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
<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>Hello</title>
		<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='.9em' font-size='90'%3E%F0%9F%91%8B%3C/text%3E%3C/svg%3E" />
		<link rel="stylesheet" href="style.css" />
	</head>
	<body>
		<main class="card">
			<h1>Hello πŸ‘‹</h1>
			<div class="rule"></div>
			<p>This is a static Space β€” plain HTML, CSS and JavaScript served from the Hugging Face Hub.</p>
			<button id="greet">Say hello back</button>
			<p id="out" class="out"></p>
		</main>
		<script>
			const out = document.getElementById("out");
			document.getElementById("greet").addEventListener("click", () => {
				out.textContent = "Hello to you too! πŸŽ‰";
			});
		</script>
	</body>
</html>