-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (57 loc) · 2.16 KB
/
Copy pathindex.html
File metadata and controls
66 lines (57 loc) · 2.16 KB
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
<!--
██ ██ ████████ ███ ███ ██
██ ██ ██ ████ ████ ██
███████ ██ ██ ████ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ███████
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>test App</title>
<!-- main css -->
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<h1>Hello there</h1>
<!-- text change -->
<p id="demo">JavaScript can change HTML content.</p>
<button onclick="click_me()">Click me</button>
<br><br>
<!-- image change -->
<button onclick="first_img()" >Turn on the light</button>
<img id="img" src="assets/image/pic_bulboff.gif" style="width:100px">
<button onclick="second_img()">Turn off the light</button>
<!-- font changer -->
<br> <br>
<button onclick="fs_900()">fs 900</button>
<button onclick="fs_400()">fs 400</button>
<!-- hide and show content -->
<br> <br>
<button onclick="hide_img()">hide img</button>
<button onclick="show_img()">show img</button>
<!-- dom start -->
<br> <br>
<h1 class='title' id='first-title'>First Title</h1>
<h1 class='title' id='second-title'>Second Title</h1>
<h1 class='title' id='third-title'>Third Title</h1>
<h1 id="aarjay-heading"></h1>
<!-- for adding all content of ul -->
<!-- for removing all content of ul -->
<ul>
<li>30DaysOfPython Challenge Done</li>
<li>30DaysOfJavaScript Challenge Ongoing</li>
<li>30DaysOfReact Challenge Coming</li>
<li>30DaysOfFullStack Challenge Coming</li>
<li>30DaysOfDataAnalysis Challenge Coming</li>
<li>30DaysOfReactNative Challenge Coming</li>
<li>30DaysOfMachineLearning Challenge Coming</li>
</ul>
<!-- script class -->
<script src="/assets/js/dom.js"></script>
<!-- <script src="/assets/js/main.js"></script> -->
</body>
</html>