From 2a36c16f182ac9763a38216d3eb9e714ed233921 Mon Sep 17 00:00:00 2001 From: PaulinaWywrot Date: Sat, 6 May 2023 12:32:01 +0100 Subject: [PATCH] complete form --- .vscode/settings.json | 3 +++ Form-Controls/index.html | 42 ++++++++++++++++++++++++++++++++++++---- Form-Controls/styles.css | 13 +++++++++++++ 3 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..6b665aaa --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 4344b144..ea09dbba 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -13,15 +13,49 @@

Product Pick

-
- - + +
+ + +
+ + +
+ Colour + + +
+
+ Size + + +
+
+ Delivery Date + + +
diff --git a/Form-Controls/styles.css b/Form-Controls/styles.css index e69de29b..0143a3e7 100644 --- a/Form-Controls/styles.css +++ b/Form-Controls/styles.css @@ -0,0 +1,13 @@ +:root { + --blue: #d2f8fd; + --light-blue: #0995a8; + +} +#name:focus, +#email:focus, +#date:focus, +#colour:focus, +#size:focus { + background-color: var(--blue); + color: var(--light-blue); +} \ No newline at end of file