File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed
Source-Code/WeightConverter Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change 7
7
< link rel ="stylesheet " href ="style.css ">
8
8
</ head >
9
9
< body >
10
-
10
+ < div class ="container ">
11
+ < h1 > Weight Converter</ h1 >
12
+ < div class ="card ">
13
+ < form name ="converter " class ="main " action ="index.html " method ="POST ">
14
+ < ul >
15
+ < li >
16
+ < label for ="kgs "> Weight (in kgs): </ label >
17
+ < input class ="values " type ="text " name ="inkilograms " id ="kgs " placeholder ="Enter Weight.. ">
18
+ </ li >
19
+ < li >
20
+ < input class ="buttons " id ="convertButton " value ="Convert " type ="button " onclick ="convert() "/>
21
+ < input class ="buttons " id ="resetButton " value ="Reset " type ="reset "/>
22
+ </ li >
23
+ </ ul >
24
+ < ul class ="flex ">
25
+ < li >
26
+ < label for ="grams "> Weight (in grams): </ label >
27
+ < input class ="values " type ="text " name ="ingrams " id ="grams ">
28
+ </ li >
29
+ < li >
30
+ < label for ="pounds "> Weight (in pounds): </ label >
31
+ < input class ="values " type ="text " name ="inpounds " id ="pounds ">
32
+ </ li >
33
+ < li >
34
+ < label for ="ounces "> Weight (in ounces): </ label >
35
+ < input class ="values " type ="text " name ="inounces " id ="ounces ">
36
+ </ li >
37
+ </ ul >
38
+ </ form >
39
+ </ div >
40
+ </ div >
11
41
< script src ="script.js "> </ script >
12
42
</ body >
13
- </ html >
43
+ </ html >
You can’t perform that action at this time.
0 commit comments