Skip to content

Commit b946473

Browse files
authored
Update index.html
1 parent cc5c819 commit b946473

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

task05-change-style-on-click/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Change Style on Click</title>
6+
<title>Change style on button click</title>
77
<link rel="stylesheet" href="style.css">
88
</head>
99
<body>
1010
<div class="container">
11-
<h1 id="heading">Heading</h1>
12-
<button id="button">Click to Change</button>
11+
<h1>Change style on button click</h1>
12+
<h1 id="heading">Main Heading</h1>
13+
<button id="click">Click to Change</button>
1314
</div>
1415

1516
<script src="script.js"></script>

0 commit comments

Comments
 (0)