Skip to content

Commit 7ed5b88

Browse files
committed
improved html solution
1 parent a22a8f8 commit 7ed5b88

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exercises/08-Bootstrap-Forms/solutions.hide.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
<title>08 Bootstrap Forms</title>
1313
</head>
1414
<body>
15-
<div class="col-3 mx-auto my-5">
15+
<div class="col-3 mx-auto my-5 rounded">
1616
<!-- Add your code below this line -->
1717
<form action="#" class="bg-secondary rounded p-5">
1818
<h2>Please login</h2>
19-
<div class="form-group m-2">
19+
<div class="form-group mb-3">
2020
<input type="email" class="form-control" placeholder="Email Address" />
2121
</div>
22-
<div class="form-group m-2">
22+
<div class="form-group mb-2">
2323
<input type="password" class="form-control" placeholder="Password" />
2424
</div>
2525

26-
<input type="checkbox" class="mx-2" /> <label>Remember me</label>
27-
<button type="button" class="m-2 bg-primary w-100 rounded border-0 text-white">Login</button>
26+
<input type="checkbox" class="mb-3" /> <label>Remember me</label>
27+
<button type="button" class="bg-primary col-12 rounded border-0 text-white">Login</button>
2828
</form>
2929
</div>
3030
</body>

0 commit comments

Comments
 (0)