Skip to content

Commit c43fad9

Browse files
Create index.html
1 parent e8bc8d9 commit c43fad9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="stylesheet" href="styles.css">
7+
<title>Color Changer Mini-App</title>
8+
</head>
9+
<body>
10+
<div id="colorChangerApp">
11+
<h1>Color Changer Mini-App</h1>
12+
<label for="elementSelector">Select Element:</label>
13+
<select id="elementSelector">
14+
<option value="background">Background</option>
15+
<option value="text">Text</option>
16+
</select>
17+
18+
<label for="colorPicker">Choose Color:</label>
19+
<input type="color" id="colorPicker" value="#ff0000">
20+
21+
<button onclick="changeColor()">Apply Color</button>
22+
</div>
23+
24+
<script src="script.js"></script>
25+
</body>
26+
</html>

0 commit comments

Comments
 (0)