There was an error while loading. Please reload this page.
1 parent fb1e777 commit b54317aCopy full SHA for b54317a
1 file changed
Form-Controls/index.html
@@ -8,6 +8,8 @@
8
<meta name="viewport" content="width=device-width, initial-scale=1" />
9
<style>
10
body {
11
+ display: flex;
12
+ flex-direction: column;
13
align-items: center;
14
padding: 10px;
15
}
@@ -16,7 +18,7 @@
16
18
margin-bottom: 10px;
17
19
20
input {
- width: fit-content;
21
+ width: 100%;
22
padding: 15px;
23
24
@@ -36,6 +38,7 @@ <h1>Product Pick</h1>
36
38
id="name"
37
39
pattern=".*\S.*\S.*"
40
placeholder="Enter Your Name"
41
+ required
42
/>
43
</div>
44
<div class="email">
@@ -59,6 +62,7 @@ <h1>Product Pick</h1>
59
62
name="colour"
60
63
id="green"
61
64
value="Green"
65
66
67
68
<div class="size">
0 commit comments