Skip to content

Commit 29b7851

Browse files
committed
updated
1 parent 7fce46a commit 29b7851

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

fetch/fetch-promise/index.html

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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>Fetch</title>
8+
<style>
9+
#refresh {
10+
display: none;
11+
}
12+
</style>
13+
</head>
14+
<body>
15+
<h2>How many post do you want?</h2>
16+
<input
17+
type="number"
18+
name=""
19+
id="postNum"
20+
value="5"
21+
placeholder="from 1 to 100"
22+
/>
23+
<button id="btn">Click</button>
24+
<button id="refresh">Refresh</button>
25+
<div id="output"></div>
26+
<script src="app.js"></script>
27+
</body>
28+
</html>

0 commit comments

Comments
 (0)