Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Bootstrap Basics!
You have completed Bootstrap Basics!
Preview
The registration form needs to let users select their job role from a menu. In this video, we'll use .form-group and .form-control to display a <select> menu.
Select menu snippet
<option value="full stack js developer">Full Stack JavaScript Developer</option>
<option value="front end developer">Front End Developer</option>
<option value="back end developer">Back End Developer</option>
<option value="designer">Designer</option>
<option value="student">Student</option>
Resources
Related courses
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
I'll create a new div with
the class"form-group".
0:00
Inside the div,
I'll add a label for Job Role.
0:09
Then right below, add a set of select
tags to display a select menu.
0:19
I'll give the select the class
form-control, And the ID role.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up