diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..7d1b8dd Binary files /dev/null and b/.DS_Store differ diff --git a/index.html b/index.html index 23206b2..7f4fae6 100644 --- a/index.html +++ b/index.html @@ -4,17 +4,23 @@ Document + - -
- - -
- - -
- - +
+

Login Form

+ + + + + + + + + +
+ \ No newline at end of file diff --git a/script.js b/script.js index e69de29..e4ea1b2 100644 --- a/script.js +++ b/script.js @@ -0,0 +1,9 @@ +const age=document.getElementById("age"); +for(let i=1;i<=99;i++){ + let opt=document.createElement("option"); + opt.text=i; + age.add(opt); +} +age.onchange=function(){ + document.body.style.background="#ff9a9e"; +}; \ No newline at end of file diff --git a/style.css b/style.css index e69de29..c27c914 100644 --- a/style.css +++ b/style.css @@ -0,0 +1,25 @@ +body{ + margin:0; + height:100vh; + display:flex; + justify-content:center; + align-items:center; + background:#74ebd5; + font-family:Arial; +} +.container{ + background:#fff; + padding:20px; + border-radius:8px; + width:250px; +} +input,select,button{ + width:100%; + margin:5px 0; + padding:6px; +} +button{ + background:#4CAF50; + color:white; + border:none; +} \ No newline at end of file