File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
color changer mini app#1115 Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments