diff --git a/Week-02/Day_02/index.html b/Week-02/Day_02/index.html new file mode 100644 index 0000000..9c9eb18 --- /dev/null +++ b/Week-02/Day_02/index.html @@ -0,0 +1,65 @@ + + + + + Advanced HTML & CSS - Simple Form + + + + +
+ +
+ +
+ +
+

User Form

+ + + + + + +
+ +
+

Entered Details

+

Name: ______

+

Email: ______

+

City: ______

+
+ +
+ + + + + + + diff --git a/Week-02/Day_02/style.css b/Week-02/Day_02/style.css new file mode 100644 index 0000000..63c83f1 --- /dev/null +++ b/Week-02/Day_02/style.css @@ -0,0 +1,79 @@ +body { + font-family: Arial; + background: #f2f2f2; +} + +.wrapper { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 20px; + max-width: 700px; + margin: 40px auto; + padding: 10px; +} + +.form { + display: flex; + flex-direction: column; + gap: 10px; + background: white; + padding: 15px; +} + +.display { + display: flex; + flex-direction: column; + gap: 10px; + background: white; + padding: 15px; +} + +input, button { + padding: 8px; +} + +/* Header */ +header { + background: #ffffff; + box-shadow: 0 1px 4px rgba(0,0,0,0.06); + padding: 12px 0; +} +header .nav ul { + list-style: none; + display: flex; + gap: 24px; + justify-content: center; + margin: 0; + padding: 0; +} +header .nav a { + color: #333; + text-decoration: none; + font-weight: 600; +} + +/* Footer / Pagination */ +footer { + margin: 30px auto 50px; + max-width: 700px; + text-align: center; +} +.pagination { + display: inline-flex; + gap: 8px; + align-items: center; +} +.pagination a { + display: inline-block; + padding: 6px 10px; + background: #fff; + border-radius: 4px; + text-decoration: none; + color: #333; + border: 1px solid #e0e0e0; +} +.pagination a.active { + background: #007acc; + color: #fff; + border-color: #007acc; +}