-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjokeCreater.html
41 lines (38 loc) · 1.15 KB
/
jokeCreater.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
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>笑话生成器</title>
<link rel="stylesheet" href="style.css">
<script src="scripts/ui.js" defer></script>
</head>
<body>
<div>
<label for="customname" id="lbl-customname">请输入自定义的名字:</label>
<input id="customname" type="text" placeholder="李雷">
</div>
<div>
<label for="cn" id="lbl-cn">中国</label><input id="cn" type="radio" name="country" value="cn" checked>
<label for="us" id="lbl-us">美国</label><input id="us" type="radio" name="country" value="us">
<label for="uk" id="lbl-uk">英国</label><input id="uk" type="radio" name="country" value="uk">
</div>
<div>
<button class="randomize">随机生成笑话</button>
</div>
<p class="story"></p>
</body>
<style type="text/css">
body {
width: 600px;
margin: 50px auto;
}
@media (min-width: 801px) {
body {
width: 600px;
margin: 50px auto;
}
}
</style>
</html>