|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | 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> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 6 | + <title>My form exercise</title> |
| 7 | + <meta name="description" content="" /> |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
23 | 9 | </head> |
24 | 10 | <body> |
25 | | - <header><h1>🧐 CYF Coursework Disposable Branch Previews</h1></header> |
| 11 | + <header> |
| 12 | + <h1>Product Pick</h1> |
| 13 | + </header> |
26 | 14 | <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> |
| 15 | + <form> |
| 16 | + |
| 17 | + <label for="name">Name:</label> |
| 18 | + <input type="text" id="name" name="name" minlength="2" required ><br> |
| 19 | + <label for="email">Email:</label> |
| 20 | + <input type="email" id="email" name="email"><br><br> |
| 21 | + |
| 22 | + <fieldset> |
| 23 | + <legend>colour:</legend> |
| 24 | + |
| 25 | + <label> |
| 26 | + <input type="radio" id="colour-red" name="colour" value="red" required> |
| 27 | + Red |
| 28 | + </label> |
| 29 | + |
| 30 | + <label > |
| 31 | + <input type="radio" id="colour-blue" name="colour" value="blue"> |
| 32 | + Blue |
| 33 | + </label> |
| 34 | + |
| 35 | + <label > |
| 36 | + <input type="radio" id="colour-green" name="colour" value="green"> |
| 37 | + Green |
| 38 | + </label> |
| 39 | + |
| 40 | + </fieldset> |
| 41 | + |
| 42 | + <p for="size">Choose your size</p> |
| 43 | + |
| 44 | + <select id="size" name="size" required> |
| 45 | + <option value="s">Small</option> |
| 46 | + <option value="m">Medium</option> |
| 47 | + <option value="l">Large</option> |
| 48 | + <option value="xl">XLarge</option> |
| 49 | + <option value="xl">XXLarge</option> |
| 50 | + |
| 51 | + </select> |
| 52 | + </form> |
43 | 53 | </main> |
44 | | - <footer><a href="HOW_TO_REVIEW.md">HOW TO REVIEW MD</a></footer> |
| 54 | + <footer> |
| 55 | + <p>Anita Amirhaeri</p> |
| 56 | + </footer> |
45 | 57 | </body> |
46 | 58 | </html> |
0 commit comments