Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Myron Miller
Front End Web Development Techdegree Graduate 17,364 PointsSelect element in an input box
Im trying to put a select element into an input box in project three, how do i position the select element inside of the box.
<label for="state">State</label> <input type="text" id="state" name="fname" placeholder="Choose State" list="States"/>
<select id="States">
<option>Alabama</option>
<option>Alaska</option>
</select>
1 Answer
Steven Parker
243,228 PointsA select element is itself a type of "input box". It wouldn't make sense to put it inside one of another type.
Perhaps it would help to provide a link to the course page you are working with.