-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathindex.html
434 lines (264 loc) · 17.8 KB
/
index.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<!DOCTYPE html>
<html>
<head>
<title>ChangeText2023</title>
</head>
<body>
<h1 id="date"> 10/16/2023</h1>
<p id="demo"> Hello world </p>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Goodbye World!"'>Click Me!</button> <br>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Hi World!"'>Click Me Too!</button> <br>
<h2>What Can JavaScript Do?</h2>
<p id="demo">JavaScript can change HTML content.</p>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Hello JavaScript!"'>Click Me to Change Paragraph!</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Replit is Awesome!"'>Click Me to Change Paragraph!</button>
<h1 id="heading">This is a Heading</h1>
<button type="button" onclick='document.getElementById("heading").innerHTML = "JavaScript is Fun!"'>Click Me to Change Heading!</button>
<button type="button" onclick='document.getElementById("heading").innerHTML = "Replit Rocks!"'>Click Me to Change Heading!</button>
<img id="myImage" src="https://example.com/image.jpg" alt="My Image">
<button type="button" onclick='document.getElementById("myImage").src = "https://example.com/image1.jpg"'>Click Me to Change Image!</button>
<button type="button" onclick='document.getElementById("myImage").src = "https://example.com/image2.jpg"'>Click Me to Change Image!</button>
<button type="button" onclick='document.getElementById("date").innerHTML = "10/16/2398"'>Click Me To travel to the future!</button> <br>
<button type="button" onclick='document.getElementById("date").innerHTML = "10/16/1498"'>Click Me To travel to the past!</button>
<h1 id="demo 2">Welcome to the prem.</h1>
<button type="button" onclick='document.getElementById("demo 2").innerHTML = "Training info"'>information</button>
<button type="button" onclick='document.getElementById("demo 2").innerHTML = "Welcome to the prem"'>back</button>
<h2 id="demo">Information for you</h2>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Daily schedule"'>introduction</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Signing bonuses"'>thank you</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = " Information for you"'>back</button>
<h1 id="demo 2"> welcome to WAR </h1>
<button type="button" onclick='document.getElementById("demo 2").innerHTML = "WAR info"''> information</button>
<button type="button" onclick='document.getElementById("demo 2").innerHTML = "welcome to WAR"''> Back</button>
<h2 id="demo">hello friends.</h2>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Nice to meet you all"'>Introduction</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Im glad yall could make it."'>Thank you!!</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = "hello friends."'>Back</button>
<h1 id="hello"> Nick Chubb is the goat </h1>
<button type="button" onclick="changeParagraphText('yoooooo')">Change Paragraph Text 1</button>
<button type="button" onclick="changeParagraphText('this changed')">Change Paragraph Text 2</button>
<button type="button" onclick="changeHeadingText('this changed too')">Change Heading Text 1</button>
<button type="button" onclick="changeHeadingText('quit that')">Change Heading Text 2</button>
<p id="paragraph">Initial text</p>
<h1 id="heading">Initial heading</h1>
<script>
function changeParagraphText(text) {
document.getElementById("paragraph").innerText = text;
}
function changeHeadingText(text) {
document.getElementById("heading").innerText = text;
}
</script>
<button type="button" onclick='document.getElementById("hello").innerHTML = "Hello JavaScript!"'>Click Me!</button>
<button type="button" onclick='document.getElementById("hello").innerHTML = "Hello world!"'>Click Me!</button>
<p id="demo"> Sup </p>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Hello JavaScript!"'>Click Me!</button>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Hello!"'>Click Me!</button>
<h1 id="heading1">Game Design and App Development.</h1>
<p id="paragraph1">Game design and app development is a combination of the creative processes of analyzing the objectives.</p>
<button type="button" onclick='document.getElementById("heading1").innerHTML = "This Is JavaScript!"'>Click Me To Change The Heading!</button>
<button type="button" onclick='document.getElementById("paragraph1").innerHTML = "JavaScript is a cross platform object oriented programming language used by developers to make web pages interactive."'>Click Me To Change The Text!</button>
<button type="button" onclick='document.getElementById("heading1").innerHTML = "Game Design and App Development"'>Click Me To Revert The Title!</button>
<button type="button" onclick='document.getElementById("paragraph1").innerHTML = "Game design and app development is a combination of the creative processes of analyzing the objectives."''>Click Me To Revert The Text!</button>
<h1 id="heading"> Hello World</h1>
<p id="p1">Hello World!</p>
<button type="button" onclick='document.getElementById("heading").innerHTML = "Goodbye!"'>Click Me!</button>
<button type="button" onclick='document.getElementById("heading").innerHTML = "Hello!"'>Click Me!</button>
<button type="button" onclick='document.getElementById("p1").innerHTML = "This is different!"'>Click Me!</button>
<button type="button" onclick='document.getElementById("p1").innerHTML = "Now back to normal!"'>Click Me!</button>
<h1 id="demo">Video games are fun to play. Video games are easy to learn. I like using I like playing video games.</h1>
<button type="button"
onclick="document.getElementById('demo').innerHTML = 'I went to GameStop to buy GTA V. GTA V is very fun. GTA V is an amazing video game.'">Click
Here</button>
<button type="button"
onclick="document.getElementById('demo').innerHTML = 'I like working out. Working out builds mucle and burns calories. Working out makes yourbody healty.'">Click
Here</button>
<h1 id="Hi" >Hello</h1>
<p id="Day" >Good morning</p>
<img src="Morning.png" height="400" id="Image"> <br>
<button type="button" onclick='document.getElementById("Hi").innerHTML = "Bye"; '>Click Me!</button>
<button type="button" onclick='document.getElementById("Hi").innerHTML = "See You"; '>Click Me 2!</button> <br>
<button type="button" onclick='document.getElementById("Day").innerHTML = "Good night"; '>Click You!</button>
<button type="button" onclick='document.getElementById("Day").innerHTML = "Good Afternoon"; '>Click You 2!</button> <br>
<button onclick="document.getElementById('Image').src='Night.jpg'; ">Click He/She/It</button>
<button onclick="document.getElementById('Image').src='Afternoon.jpg'; ">Click He/She/It 2</button>
<p id="demo2">JavaScript is a great coding language. JavaScript is easy to learn. I like using JavaScript.</p>
<button type="button"
onclick="document.getElementById('demo2').innerHTML = 'I like to code. Coding is fun. Coding is easy to learn'">Click
Here</button>
<button type="button"
onclick="document.getElementById('demo2').innerHTML = 'I like watching anime. I like watching One Piece. Watching anime is fun.'">Click
Here</button>
<!--First set-->
<h1 id="myHeading">Hello World</h1>
<p id="myParagraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit.<p>
<img id="myImage" src=image3.png alt="Default Image" width="300">
<button onclick="changeParagraph1()">Change Paragraph 1</button>
<button onclick="changeParagraph2()">Change Paragraph 2</button>
<button onclick="changeHeading1()">Change Heading 1</button>
<button onclick="changeHeading2()">Change Heading 2</button>
<button onclick="changeImage1()">Change Image 1</button>
<button onclick="changeImage2()">Change Image 2</button>
<button onclick="imDifferent()">PLEASE HELP</button>
<h1 id="hi"> HOWDee! </h1>
<p id="dis"> how are ya on dis fan evenin </p>
<button type="button"onclick="document.getElementById('hi').innerHTML = 'Patnier!'">sa hi</button>
<button type="button"onclick="document.getElementById('hi').innerHTML = 'hav a dandy daey!'">sa by</button>
<button type="button"onclick="document.getElementById('dis').innerHTML = 'im doin es fin as old wine'">aks</button>
<button type="button"onclick="document.getElementById('dis').innerHTML = 'ani waey see ya arawod'">by by </button>
<!--Second set-->
<h1 id="header">Hello</h1>
<p id="paragraph">This is a paragraph</p>
<img id="img" src=https://t4.ftcdn.net/jpg/05/68/56/53/360_F_568565340_r0tnHuiWOrgWi7ihue8ZTeIVFsP7lc5L.jpg height=200 alt=monkey>
<button onclick="Goodbye()">Goodbye</button>
<button onclick="Hello()">Hello</button>
<button onclick="Para()">Para</button>
<button onclick="Graph()">Graph</button>
<button onclick="Mokey()">MonKey</button>
<button onclick="Baby()">BabY</button>
<script>
//First set
function changeParagraph1() {
document.getElementById("myParagraph").innerHTML = "This is paragraph **************@hilliardschools,org.";
}
function changeParagraph2() {
document.getElementById("myParagraph").innerHTML = "This is paragraph **************@gmail.com.";
}
function changeHeading1() {
document.getElementById("myHeading").innerHTML = "ROOM 217";
}
function changeHeading2() {
document.getElementById("myHeading").innerHTML = "this is all i want $$$$$$$$$$";
}
function changeImage1() {
document.getElementById("myImage").src = "image1.png";
}
function changeImage2() {
document.getElementById("myImage").src = "image2.png";
}
function imDifferent() {
document.getElementById("myParagraph").src = "PLEASE HELP ME IM STUCK IN A WEBSITE AND I CANT LEAVE!!!!!";
}
//Second set
function Goodbye() {
document.getElementById("header").innerHTML = "Goodbye";
}
function Hello() {
document.getElementById("header").innerHTML = "Hello";
}
function Para() {
document.getElementById("paragraph").innerHTML = "This is a graph";
}
function Graph() {
document.getElementById("paragraph").innerHTML = "This is a para";
}
function Monkey() {
document.getElementById("img").src = "https://t4.ftcdn.net/jpg/05/68/56/53/360_F_568565340_r0tnHuiWOrgWi7ihue8ZTeIVFsP7lc5L.jpg";
}
function Baby() {
document.getElementById("img").src = "https://thumbs.dreamstime.com/b/funny-face-baby-27701492.jpg";
}
</script>
<h1>ChangeText2023</h1>
<p>This is a paragraph.</p>
<h1 id="live"> </h1>
<p id="explan"></p>
<button type="button" onclick='document.getElementById("live").innerHTML = "how to live"'>Click Me 1</button>
<button type="button" onclick='document.getElementById("explan").innerHTML = "you need to be alive"'>explanation</button>
<button type="button" onclick='document.getElementById("live").innerHTML = "how to jump"'>Click Me 2</button>
<button type="button" onclick='document.getElementById("explan").innerHTML = "bend legs then push legs up"'>explanation 2</button>
<h1 id="title">Title</h1>
<h2 id="subtitle">Subtitle</h2></h2>
<p id="p1">This is a paragraph</p>
<p id="p2">This is another paragraph</p>
<img src="https://www.hilliardschools.org/bradleyjaguars/wp-content/themes/athletics-hbr-child/images/HBR_Athletic_Banner_HBR.png" alt="Bradley logo" width=100px id="image">
<button type="button" onclick='document.getElementById("title").innerHTML = "Better Title"'>Change title</button>
<button type="button" onclick='document.getElementById("subtitle").innerHTML = "Better Subtitle"'>Change subtitle</button>
<button type="button" onclick='document.getElementById("p1").innerHTML = "This is a different paragraph"'>Change first paragraph</button>
<button type="button" onclick='document.getElementById("p2").innerHTML = "This is another different paragraph"'>Change second paragraph</button>
<button type="button" onclick='document.getElementById("image").src = "https://pbs.twimg.com/media/Egm_sY1WoAIBSap.jpg"'>Change image</button>
<button type="button" onclick='document.getElementById("image").src = "https://i1.sndcdn.com/artworks-aY91yzpmZsoOGRhv-0trzOg-t500x500.jpg"'>SODA</button>
<h1 id= "header">
Welcome to Game Design and App Development!
</h1>
<p id= "message">
Welcome to this website
</p>
<img id="image" src= "computer_image.png" alt="image of computer" width=200>
<br>
<!-- Headers -->
<button onclick= "document.getElementById('header').innerHTML= 'Welcome to Computer Science Principles!'"> Header 1 </button>
<button onclick= "document.getElementById('header').innerHTML= 'Welcome to Computer Science A'"> Header 2 </button>
<!-- paragraphs -->
<br>
<button onclick= "document.getElementById('message').innerHTML= 'Hello World'"> Paragraph 1</button>
<button onclick= "document.getElementById('message').innerHTML= 'Hello User'"> Paragraph 2</button>
<!-- Images -->
<br>
<button onclick="document.getElementById('image').src='computer_drawing.jpg'"> Image 1</button>
<button onclick="document.getElementById('image').src='laptop_image.jfif'"> Image 2</button>
<h1 id="Heading">Hello World 1</h1>
<p id="Paragraph">Hello World 2</p>
<button onclick="document.getElementById('Heading').innerHTML = 'Hello World 3'">Change Heading</button>
<button onclick="document.getElementById('Heading').innerHTML = 'Hello World 1'">Return Heading</button>
<button onclick="document.getElementById('Paragraph').innerHTML = 'Hello World 4'">Change Paragraph</button>
<button onclick="document.getElementById('Paragraph').innerHTML = 'Hello World 2'">Return Paragraph</button>
<h1 id="Heading"> The new generation of the technologic era </h1>
<button type="button" onclick= 'document.getElementById("Heading").innerHTML = "Just a phantasy!"'> Another option </button>
<button type = "button" onclick = 'document.getElementById("Heading").innerHTML = "Most of you feel passionate of this"'> Get more feedback </button>
<p id="text"> Our technology is getting more powerful, the era of the times machines and the inmortality is provably coming more faster than you think. </p>
<button type="button" onclick='document.getElementById("text").innerHTML = "Is it all a phantasy?"'> Mistery </button>
<button type = "button" onclick = 'document.getElementById("text").innerHTML = "what about if i tell you that this is possible today?"'> The truth? </button>
<h2 id="header">hewwo</h2>
<button type="button" onclick='document.getElementById("header").innerHTML = "meow meow meow"'>clicky click!</button>
<button type="button" onclick='document.getElementById("header").innerHTML = ">:3c"'>click clack!</button>
<p id="para"> hi :3</p>
<button type="button" onclick='document.getElementById("para").innerHTML = "woah! ^w^"'>click me!</button>
<button type="button" onclick='document.getElementById("para").innerHTML = "meow"'>no, click me!</button>
<h1 id = "demo">This is a h1</h1>
<button type="button" onclick='document.getElementById("demo").innerHTML = "Heading 1"'>Click Me!</button>
<h2 id = "demo2">This is a h2</h2>
<button type="button" onclick='document.getElementById("demo2").innerHTML = "Heading 2"'>Click Me!</button>
<p id="demo3">Hello World</p>
<button type="button" onclick='document.getElementById("demo3").innerHTML = "Hello World!"'>Click Me!</button>
<p id="demo4">This is a paragraph</p>
<button type="button" onclick='document.getElementById("demo4").innerHTML = "paragraph"'>Click Me!</button>
<br>
<img id="image" src="Bradley.png" alt="Bradley logo" width="200">
<button onclick="document.getElementById('image').src='bradley2.png'">Click Me!</button>
<br>
<img id="image2" src="bradley4.webp" alt="Bradley logo" width="200" >
<button onclick="document.getElementById('image2').src='bradley3.png'">Click Me!</button>
<h1 id="hi">Hi stuff</h1>
<p id="world">Hello world!</p>
<button type="button" onclick='document.getElementById("hi").innerHTML = "Hello JavaScript!"'>Click Me!</button>
<button type="button" onclick='document.getElementById("hi").innerHTML = "Hello people"'>Click Me!</button>
<button type="button" onclick='document.getElementById("world").innerHTML = "Hello hello"'>Click Me!</button>
<button type="button" onclick='document.getElementById("world").innerHTML = "Hello hi"'>Click Me!</button>
<h2>Hi</h2>
<h2 id='function'>JavaScript Variables</h2>
<button type="button"
onclick="document.getElementById('function').innerHTML = 'ok' ">Click Me!</button>
<button type="button"
onclick="document.getElementById('function').innerHTML = 'No' ">Click Me!</button>
<button onclick="myFunction()">Click me</button>
<script>
function myFunction() {
alert("Hello World")
alert("Hello Hell")
}
</script>
<p id='demo'>JavaScript can change HTML contnet.</p>
<button type="button"
onclick="document.getElementById('demo').innerHTML = 'GoodBye!'">ClickMe!</button>
<button type="button"
onclick="document.getElementById('demo').innerHTML = 'Hello!'">ClickMe!"</button>
<h1 id="demo 2"> Welcome to the Party.</h1>
<button type="button" onclick='document.getElementById("demo 2").innerHTML = "Name list"'>information</button>
<button type="button" onclick='document.getElementById("demo 2").innerHTML ="Welcome to the party"'> back</button>
<h2 id="demo">The party is very fun.</h2>
<button type="buttom" onclick= 'document.getElementById("demo").innerHTML = "nice to meet you all"'>Introduction</button>
<button type="button" onclick='document.getElementById("demo").innerHTML="Im glad that you all could make it."'>Thank you!!</button>
<button type="button" onclick='document.getElementById("demo").innerHTML="Party info."'>Back</button>
</body>
</html>