Skip to content

Commit 86417c6

Browse files
committed
feature: add base site
1 parent 28461fb commit 86417c6

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

public/index.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Jamstack Explorers - Up and Running with Serverless Functions</title>
8+
</head>
9+
<body>
10+
<h1>Up and Running with Serverless Functions</h1>
11+
<button id="fetch-btn">Fetch</button>
12+
<p id="response-output">Response Placeholder</p>
13+
14+
<script>
15+
document.addEventListener('DOMContentLoaded', () => {
16+
const fetchBtn = document.getElementById('fetch-btn')
17+
const responseText = document.getElementById('response-output')
18+
19+
fetchBtn.addEventListener('click', () => {
20+
responseText.innerText = 'Static Text Replacement'
21+
})
22+
})
23+
</script>
24+
</body>
25+
</html>

0 commit comments

Comments
 (0)