Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Arrange form fields with the grid and gutters.
Form Layout is easiest to learn by reading the example, changing it, and observing the result.
<form>
<div class="mb-3">
<label for="email" class="form-label">Email address</label>
<input type="email" class="form-control" id="email" aria-describedby="emailHelp">
<div id="emailHelp" class="form-text">We never share your email.</div>
</div>
<div class="mb-3">
<label for="role" class="form-label">Role</label>
<select class="form-select" id="role">
<option>Student</option>
<option>Teacher</option>
</select>
</div>
<button type="submit" class="btn btn-primary">Save</button>
</form>Practice the Form Layout example in a small scratch file, then explain what changed and why.