-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjavascript2.html
62 lines (60 loc) · 1.51 KB
/
javascript2.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
<!DOCTYPE html>
<html>
<head>
<script src="js2.js"></script>
<title> My Web Page</title>
</head>
<body>
<div id = "main">
<h1>
Games
</h1>
<p class = "para">
We should play different games
</p>
<h2>
Foretnite
</h2>
<p class = "para">
a shooting game
</p>
<p id = "yup">
YUP
</p>
<p id = "yp">
YUP
</p>
<p class="para">
</p>
<p class="para">
</p>
</div>
<button onclick="create()">Create</button>
<br>
<button onclick = "paragraph()">Para</button>
<br>
<button onclick = "para()">Paragraph</button>
<br>
<button onclick="changeText()">Color</button>
<p id = "p1"> This is a paragraph</p>
<br>
<button onclick="change()">CHANGE</button>
<br>
<button onclick="changeto()">CHANGETO</button>
<script src="js2.js"></script>
<p id = "pag">HELLO1</p>
<p id = "pag">HELLO2</p>
<p id = "pag">HELLO3</p>
<p id = "pag">HELLO4</p>
<p id = "pag">HELLO5</p>
<p id ="pag"></p>
<p id = "pag"></p>
<p id = "pag"></p>
<p id = "pn"></p>
<button id = "bu" onclick="c()">C</button>
<br>
<button onclick="ch()">C</button>
<p id = "hello"> apple </p>
<button onclick="page()">PAGE</button>
</body>
</html>