-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestprep.html
82 lines (50 loc) · 1.13 KB
/
testprep.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html>
<head>
<style>
body {
background-color : green;
}
h1{
font-family: 'Enriqueta', arial, serif;
text-align:center;
font-size: 30px;
}
p{
font-family: 'Enriqueta', arial, serif;
}
button{
font-family: 'Enriqueta', arial, serif;
font-size: 20px;
border-radius: 10px;
background-color :red;
font-weight: bolder;
padding: 10px;
border-style: dotted;
border-radius: 50px;
}
input{
margin-top : 100px;
padding: 10px;
border-style: hidden;
border-radius: 50px;
}
</style>
</head>
<title>TestPrep</title>
<body>
<h1>Boo</h1>
<h1>
<input type="password" id="tfq" name="q" size="21" maxlength="120" value="Button">
</h1>
<br>
<h1>
<button id = "change" type = "button" onclick = "change()"> Type Text To Display Here </button>
</h1>
</body>
<script>
var audio = new Audio('sound/music.mp3');
function change(){
document.getElementById("change").innerHTML = document.getElementById("tfq").value;
}
</script>
</html>