@@ -37,41 +37,108 @@ const App = () => {
3737
3838 return (
3939 < >
40- < div className = "container text-center" style = { { paddingTop : "15%" } } >
41- < h1 > Hi, { NameView } </ h1 >
42- < h5 > { EmailView } </ h5 >
43- < h6 > { mobileView } </ h6 >
44- < div className = "pt-3 pb-3" >
45- < input
46- type = "text"
47- placeholder = "Enter name"
48- onChange = { nameFucn }
49- value = { nameValue }
50- />
51- < br />
52- < br />
40+ < div className = "container pt-5" >
41+ < h1 className = "pb-4" > Hi, { NameView } </ h1 >
42+ { /* <h5>{EmailView}</h5>
43+ <h6>{mobileView}</h6> */ }
44+ < div class = "row mb-4" >
45+ < div class = "col" >
46+ < div class = "form-outline" >
47+ < input
48+ type = "text"
49+ id = "form6Example1"
50+ class = "form-control"
51+ onChange = { nameFucn }
52+ value = { nameValue }
53+ />
54+ < label class = "form-label" for = "form6Example1" >
55+ First name
56+ </ label >
57+ </ div >
58+ </ div >
59+ < div class = "col" >
60+ < div class = "form-outline" >
61+ < input type = "text" id = "form6Example2" class = "form-control" />
62+ < label class = "form-label" for = "form6Example2" >
63+ Last name
64+ </ label >
65+ </ div >
66+ </ div >
67+ </ div >
68+
69+ { /* <!-- Text input --> */ }
70+ < div class = "form-outline mb-4" >
71+ < input type = "text" id = "form6Example3" class = "form-control" />
72+ < label class = "form-label" for = "form6Example3" >
73+ Company name
74+ </ label >
75+ </ div >
76+
77+ { /* <!-- Text input --> */ }
78+ < div class = "form-outline mb-4" >
79+ < input type = "text" id = "form6Example4" class = "form-control" />
80+ < label class = "form-label" for = "form6Example4" >
81+ Address
82+ </ label >
83+ </ div >
84+
85+ { /* <!-- Email input --> */ }
86+ < div class = "form-outline mb-4" >
5387 < input
5488 type = "email"
55- placeholder = "Enter email"
89+ id = "form6Example5"
90+ class = "form-control"
5691 onChange = { emailFucn }
5792 value = { EmailValue }
5893 />
59- < br />
60- < br />
94+ < label class = "form-label" for = "form6Example5" >
95+ Email
96+ </ label >
97+ </ div >
98+
99+ { /* <!-- Number input --> */ }
100+ < div class = "form-outline mb-4" >
61101 < input
62102 type = "number"
63- placeholder = "Enter mobile"
103+ id = "form6Example6"
104+ class = "form-control"
64105 onChange = { mobileFucn }
65106 value = { mobileValue }
66107 />
108+ < label class = "form-label" for = "form6Example6" >
109+ Phone
110+ </ label >
111+ </ div >
112+
113+ { /* <!-- Message input --> */ }
114+ < div class = "form-outline mb-4" >
115+ < textarea class = "form-control" id = "form6Example7" rows = "4" > </ textarea >
116+ < label class = "form-label" for = "form6Example7" >
117+ Additional information
118+ </ label >
119+ </ div >
120+
121+ { /* <!-- Checkbox --> */ }
122+ < div class = "form-check mb-4" >
123+ < input
124+ class = "form-check-input me-2"
125+ type = "checkbox"
126+ value = ""
127+ id = "form6Example8"
128+ checked
129+ />
130+ < label class = "form-check-label" for = "form6Example8" >
131+ Accept term & condition?
132+ </ label >
67133 </ div >
134+
135+ { /* <!-- Submit button --> */ }
68136 < button
69- type = "button"
70- value = ""
71- className = "btn btn-primary"
137+ type = "submit"
138+ class = "btn btn-primary btn-block mb-4"
72139 onClick = { onSubmit }
73140 >
74- Click Me
141+ Save Information
75142 </ button >
76143 </ div >
77144 </ >
0 commit comments