Skip to content

Commit c52542a

Browse files
committed
removed from method from index file
1 parent 76b166f commit c52542a

2 files changed

Lines changed: 19 additions & 21 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<h1>Product Pick</h1>
1414
</header>
1515
<main>
16-
<form method="post">
16+
<form method="get">
1717
<div>
1818
<label for="CustomerName">Customer Name:</label>
1919
<input

‎Form-Controls/style.css‎

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1+
form > div {
2+
margin-bottom: 1em;
3+
}
14

2-
form > div {
3-
margin-bottom: 1em;
4-
}
5+
label {
6+
font-weight: bold;
7+
}
58

6-
label {
7-
font-weight: bold;
8-
}
9+
button {
10+
background-color: #4caf50;
11+
color: black;
12+
font-weight: bold;
13+
padding: 10px 20px;
14+
border: none;
15+
border-radius: 4px;
16+
cursor: pointer;
17+
}
918

10-
button {
11-
background-color: #4CAF50;
12-
color: black;
13-
font-weight: bold;
14-
padding: 10px 20px;
15-
border: none;
16-
border-radius: 4px;
17-
cursor: pointer;
18-
}
19-
20-
button:hover {
21-
background-color: #45a049;
22-
}
23-
19+
button:hover {
20+
background-color: #45a049;
21+
}

0 commit comments

Comments
 (0)