# Survey project not accepting my dropdown menu

**URL:** <https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512>\
**Category:** General\
**Created:** [April 27, 2020, 1:59am UTC](https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512 "2020-04-27T01:59:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zie62](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/zie62/32/148488_2.png) [@Zie62](https://forum.freecodecamp.org/u/Zie62)\
**Post date:** [April 27, 2020, 1:59am UTC](https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512/1 "2020-04-27T01:59:25Z")

</div>

[https://codepen.io/AugustTGuenther/pen/JjYEpJQ](https://codepen.io/AugustTGuenther/pen/JjYEpJQ)

This project ask me to make a drop down menu, however after I made it and have 2 options, it claims that there are not, in fact, 2 selectable options. Been at this for an hour and even re-wrote the entire code to get it working properly once, really annoying its still not accepting it.

---

<div class="post-metadata">

**Author:** ![brandonsnow](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/brandonsnow/32/30429_2.png) [@brandonsnow](https://forum.freecodecamp.org/u/brandonsnow)\
**Post date:** [April 27, 2020, 2:54am UTC](https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512/2 "2020-04-27T02:54:08Z")

</div>

You should be using the html element associated with the dropdown, “select” element with nested “option” elements. Also you can put all your styling in the css section of Codepen editor, instead of using the style html element. Also if you wanted to style on the html file the style element should be nested in the head element, but that is discouraged; stylesheet files and html files should be seperate. If you follow the instructions for the project, that should make it easier to pass the project.

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [April 27, 2020, 7:09pm UTC](https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512/3 "2020-04-27T19:09:49Z")

</div>

@Zie62, that’s not exactly the way you’d create a dropdown. A `button` is something else. Read about the [HTML `select` tag](https://www.w3schools.com/tags/tag_select.asp) here and try applying it to your form.

---

<div class="post-metadata">

**Author:** ![Zie62](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/zie62/32/148488_2.png) [@Zie62](https://forum.freecodecamp.org/u/Zie62)\
**Post date:** [April 28, 2020, 12:45am UTC](https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512/4 "2020-04-28T00:45:58Z")

</div>

Thank you! I seemed to have missed the select element in my notes and didnt even realize it existed. Also thanks for the formatting advice, I just had some troubles using the css section earlier (just a matter of getting used to the platform) which is why it was formatted like a monkey wrote it. 😃

---

<div class="post-metadata">

**Author:** ![Zie62](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/zie62/32/148488_2.png) [@Zie62](https://forum.freecodecamp.org/u/Zie62)\
**Post date:** [April 28, 2020, 12:47am UTC](https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512/5 "2020-04-28T00:47:10Z")

</div>

Thank you! Very very helpful and concise answer.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:56pm UTC](https://forum.freecodecamp.org/t/survey-project-not-accepting-my-dropdown-menu/379512/6 "2021-06-01T18:56:18Z")

</div>


