From 29f9281053c1997f98d026cc3fd65aec65281b56 Mon Sep 17 00:00:00 2001 From: d-odumosu Date: Wed, 13 May 2026 17:04:01 +0100 Subject: [PATCH 1/8] feat:added firstname, lastname, email and shirt color. --- Form-Controls/index.html | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..2932f0224 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -17,6 +17,48 @@

Product Pick

+ + + + + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+ Choose a shirt color: +
+ + +
+ +
+ + +
+ +
+ + +
+
+
+
diff --git a/Form-Controls/main.css b/Form-Controls/main.css index a824e952a..3dac10013 100644 --- a/Form-Controls/main.css +++ b/Form-Controls/main.css @@ -1,34 +1,55 @@ -*{ +* { box-sizing: border-box; -} - -body{ margin:0; - padding:0; - font-family: "Times New Roman", Times, serif; - /*line-height:;*/ - background:#403d39; } header, footer{ - background:#ccc5b9; + text-align:center; } -/*footer{*/ -/* */ -/*}*/ -.main-container{ - background:#edede9; - padding:40px 30px; +h1{ + font-size: 4rem; + font-weight: 900; + line-height: 1; } -.container{ - /*width:;*/ - margin: 0 auto; +body{ + font-family: "Lato", sans-serif; + font-size:18px; + background-color:#c1121f; + color:#fff; + line-height: 1.6; } -h1{ - font-size:2rem; - text-align:center; - margin-top: 0; - padding:30px 0; + +form{ + width: 50%; + background: #780000; + padding:45px; + margin: 100px auto; + border: 2px solid #9a031e; } .form-group{ margin-bottom:10px; } +label { + text-transform: uppercase; + margin-right:10px; +} +input { + background: #fefae0; + color: #880d1e; + border: 2px solid #f26a8d; + border-radius: 10px; + padding: 0.5rem 1rem; +} + +button{ + cursor: pointer; + background-color:#e63946; + padding: 1em 1.5em; + border: 0; + border-radius: 16px; +} +p{ + text-transform:lowercase; + font-family: "Pinyon Script", cursive; + font-weight: 400; + font-style: normal; +} \ No newline at end of file From 202157bf235c45b84f9413c8ba6179ee4a726e46 Mon Sep 17 00:00:00 2001 From: d-odumosu Date: Sat, 23 May 2026 19:44:53 +0100 Subject: [PATCH 8/8] feat: CSS styling, added border radius to the form. --- Form-Controls/main.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Form-Controls/main.css b/Form-Controls/main.css index 3dac10013..6531a9ef2 100644 --- a/Form-Controls/main.css +++ b/Form-Controls/main.css @@ -24,6 +24,7 @@ form{ padding:45px; margin: 100px auto; border: 2px solid #9a031e; + border-radius:5px } .form-group{ margin-bottom:10px; @@ -52,4 +53,4 @@ p{ font-family: "Pinyon Script", cursive; font-weight: 400; font-style: normal; -} \ No newline at end of file +}