diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 74b591ffc..80ad9fb21 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -1,27 +1,73 @@ - - - - My form exercise - - - - -
-

Product Pick

-
-
-
- - -
-
- - - + + + + T-Shirt Order Form + + + + + +
+

T-Shirt Order Form

+
+ + +
+
+
+ + +
+ +
+ + +
+ + +
+ T-shirt Colour: + +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ + +
+ + +
+
+ + + + + + \ No newline at end of file diff --git a/Form-Controls/style.css b/Form-Controls/style.css new file mode 100644 index 000000000..ea87471ee --- /dev/null +++ b/Form-Controls/style.css @@ -0,0 +1,73 @@ +body { + font-family: Arial, sans-serif; + max-width: 500px; + margin: 30px auto; + padding: 20px; + background-color: #f9f9f9; +} + +header { + text-align: center; + margin-bottom: 20px; +} + +form { + background: #ffffff; + padding: 20px; + border-radius: 6px; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); +} + +.form-group { + margin-bottom: 15px; +} + +label { + display: block; + margin-bottom: 5px; + font-weight: bold; +} + +fieldset { + border: 1px solid #ccc; + border-radius: 4px; + padding: 10px; + margin-bottom: 15px; +} + +fieldset div { + display: inline-block; + margin-right: 15px; + margin-bottom: 0; +} + +fieldset label { + display: inline; + font-weight: normal; +} + +select, input[type="text"], input[type="email"] { + width: 100%; + padding: 8px; + border: 1px solid #ccc; + border-radius: 4px; +} + +button[type="submit"] { + background-color: #0066cc; + color: white; + padding: 10px 18px; + border: none; + border-radius: 4px; + cursor: pointer; +} +button[type="submit"]:hover { + background-color: #0056b3; + cursor: pointer; +} +footer { + margin-top: 20px; + text-align: center; + font-size: 14px; + color: #666; +} \ No newline at end of file diff --git a/prep/comparison.js b/prep/comparison.js new file mode 100644 index 000000000..cbccfe73d --- /dev/null +++ b/prep/comparison.js @@ -0,0 +1,12 @@ +// 1 +console.log("hello" === "hello"); + +// 2 +console.log("CYF" === "cyf"); + +// 3 +const homeTown = "Newcastle"; +console.log(homeTown === "Liverpool"); + +// 4 +console.log(42 === 42); \ No newline at end of file diff --git a/prep/facts.js b/prep/facts.js new file mode 100644 index 000000000..a7f55c1b7 --- /dev/null +++ b/prep/facts.js @@ -0,0 +1 @@ +console.log("Stoicism"); \ No newline at end of file diff --git a/prep/greeting.js b/prep/greeting.js new file mode 100644 index 000000000..fe2ecafd3 --- /dev/null +++ b/prep/greeting.js @@ -0,0 +1,2 @@ +const greeting = "hello there"; +console.log(greeting); \ No newline at end of file diff --git a/prep/hello_world.js b/prep/hello_world.js new file mode 100644 index 000000000..de8882976 --- /dev/null +++ b/prep/hello_world.js @@ -0,0 +1 @@ +console.log("Hello World!"); \ No newline at end of file