Skip to content

Commit 48097dc

Browse files
committed
final one
1 parent 4d4300e commit 48097dc

2 files changed

Lines changed: 101 additions & 147 deletions

File tree

PR_template.html

Lines changed: 0 additions & 102 deletions
This file was deleted.

index.html

Lines changed: 101 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,102 @@
11
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Coursework</title>
7-
<style>
8-
:root {
9-
--paper: oklch(7 0 0);
10-
--ink: color-mix(in oklab, var(--color) 5%, black);
11-
--font: 100%/1.5 system-ui;
12-
--space: clamp(6px, 6px + 2vw, 15px);
13-
--line: 1px solid;
14-
}
15-
body {
16-
background: var(--paper);
17-
color: var(--ink);
18-
font: var(--font);
19-
max-width: 1280px;
20-
margin: 0 auto;
21-
}
22-
</style>
23-
</head>
24-
<body>
25-
<header><h1>🧐 CYF Coursework Disposable Branch Previews</h1></header>
26-
<main>
27-
<ol>
28-
<li>
29-
<h2><a href="/Wireframe">Project 1: Wireframe</a></h2>
30-
<p>
31-
Mentors:
32-
<a href="Wireframe/readme.md">open the assignment in a tab</a>
33-
</p>
34-
</li>
35-
<li>
36-
<h2><a href="/Form-Controls">Project 2: Form Controls</a></h2>
37-
<p>
38-
Mentors:
39-
<a href="Form-Controls/readme.md">open the assignment in a tab</a>
40-
</p>
41-
</li>
42-
</ol>
43-
</main>
44-
<footer><a href="HOW_TO_REVIEW.md">HOW TO REVIEW MD</a></footer>
45-
</body>
46-
</html>
2+
<html lang="en" title="Checking Form ">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Checking Form</title>
8+
<style>
9+
body {
10+
font-family: Arial, sans-serif;
11+
background-color: hsl(0, 2%, 20%);
12+
display: flex;
13+
justify-content: center;
14+
align-items: center;
15+
height: 100vh;
16+
margin: 0;
17+
}
18+
19+
.customer-form {
20+
background-color: #ffffff;
21+
padding: 40px;
22+
border-radius: 8px;
23+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
24+
width: 300px;
25+
}
26+
27+
.customer-form label {
28+
margin-bottom: 5px;
29+
color: #1a1a1a; /* dark grey text */
30+
background-color: transparent;
31+
}
32+
33+
.customer-form button {
34+
width: 100%;
35+
padding: 10px;
36+
background-color: #0056b3; /* darker blue */
37+
color: #ffffff;
38+
border: none;
39+
border-radius: 4px;
40+
cursor: pointer;
41+
font-size: 16px;
42+
}
43+
44+
.custojmer-form button:hover {
45+
background-color: #003f8a;
46+
}
47+
</style>
48+
</head>
49+
50+
<body>
51+
<main>
52+
<form class="customer-form" title="checking">
53+
54+
<H1>Checking Form:</H1>
55+
56+
<div>
57+
<label for="customer-name">Customer's name : </label>
58+
<input id="customer-name" name="customer-name" type="text" required pattern=".*\S.*\S.*"
59+
title="Please enter at least two non-space characters." />
60+
61+
</div>
62+
63+
<p></p>
64+
65+
<div>
66+
<label for="customer-email">Customer's email : </label>
67+
<input id="customer-email" name="customer-email" type="email" required />
68+
69+
</div>
70+
71+
<p></p>
72+
73+
<div>
74+
<label for="tshirt-colour">T-shirt Color : </label>
75+
<select id="tshirt-colour" name="tshirt-colour" required>
76+
<option value="" disabled selected>Select a colour</option>
77+
<option value="red">Red</option>
78+
<option value="blue">Blue</option>
79+
<option value="black">Black</option>
80+
</select>
81+
82+
</div>
83+
<p></p>
84+
<div>
85+
<label for="tshirt-size">T-shirt size required : </label>
86+
<select id="tshirt-size" name="tshirt-size" required>
87+
<option value="" disabled selected>Select a size</option>
88+
<option value="XS">XS</option>
89+
<option value="S">S</option>
90+
<option value="M">M</option>
91+
<option value="L">L</option>
92+
<option value="XL">XL</option>
93+
<option value="XXL">XXL</option>
94+
</select>
95+
96+
</div>
97+
<p></p>
98+
<button type="submit">Submit checking</button>
99+
</form>
100+
</main>
101+
102+
</html>

0 commit comments

Comments
 (0)