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

Product Pick

-
-
-
- - -
-
- - - + + + T-shirt Order Form + + +
+

T-shirt Order Form

+ +
+
+ Customer details + + + + + + +
+ +
+ T-shirt colour + + + + + + + + + +
+ +
+ T-shirt size + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/index.html b/index.html index 80aa49666..f8e8df9c8 100644 --- a/index.html +++ b/index.html @@ -1,46 +1,47 @@ - - - - Coursework - - - -

🧐 CYF Coursework Disposable Branch Previews

-
-
    -
  1. -

    Project 1: Wireframe

    -

    - Mentors: - open the assignment in a tab -

    -
  2. -
  3. -

    Project 2: Form Controls

    -

    - Mentors: - open the assignment in a tab -

    -
  4. -
-
- - - + + + Wireframe Task + + + + + +
+

My Web Page

+
+ +
+
+ +
+ image +

What is a README file?

+

Short explanation here...

+ Read more +
+ +
+ image +

What is a wireframe?

+

Short explanation here...

+ Read more +
+ +
+ image +

What is a Git branch?

+

Short explanation here...

+ Read more +
+ +
+
+ + + + + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 000000000..ac9c81249 --- /dev/null +++ b/style.css @@ -0,0 +1,71 @@ +body { + margin: 0; + font-family: Arial, sans-serif; + padding-bottom: 80px; +} + +header { + text-align: center; + padding: 30px 0 20px; +} + +header p { + font-weight: bold; +} + +main { + max-width: 1000px; + margin: 0 auto; +} + +.articles { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 25px; +} + +article { + border: 2px solid black; +} + +article:first-child { + grid-column: 1 / 3; +} + +article img { + width: 100%; + height: 220px; + object-fit: cover; + display: block; + border-bottom: 2px solid black; +} + +article:first-child img { + height: 260px; +} + +article h2, +article p, +article a { + margin-left: 20px; +} + +article a { + display: inline-block; + margin-bottom: 20px; + padding: 10px 18px; + border: 2px solid black; + color: black; + text-decoration: none; + font-weight: bold; +} + +footer { + position: fixed; + bottom: 0; + width: 100%; + border-top: 2px solid black; + text-align: center; + padding: 20px; + background: white; +} \ No newline at end of file