https://codepen.io/freeCodeCamp/full/VPaoNP

Hi!
I finished a survey-form project and i did it just with Html for now, but i found that i’m stuck with the two dropdown lists in this project : I cant’t make the placeholder text exactly as your form page project. Here is my own code :

<label for="role">Which option best describes your current role?</label>
      <br><br>
      <select id="dropdown" name="role">
        <option value="student">Student</option>
        <option value="full time job">Full Time Job</option>
        <option value="full time learner">Full Time Learner</option>
        <option value="prefer not to say">Prefer not to say</option>
        <option value="other">Other</option>
      </select>

<label for="feature">What is your favorite feature of freeCodeCamp?</label>
      <br><br>
      <select id="feature" name="feature">
        <option value="challenges">Challenges</option>
        <option value="projects">Projects</option>
        <option value="community">Community</option>
        <option value="open source">Open Source</option>
      </select>

I need a help. Thanks

why you want to copy the example? make your own style


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

I don’t want to copy the example, i just want to know how to do it like the survey-form project to have more skills. thank you for the advice and the information, i really appreciate

please provide the link to you project and the freecodecamp project (the link in title doesn’t work)

https://codepen.io/Krimou5/pen/PoWKYjP?editors=1000

Hey there,

I’m learning myself, but maybe I can help…

Include this code,

<option disabled selected value>Placeholder Text Visible</option>

after,

<select id="dropdown" name="role">

Does that fix it?

Hi justlevy! How are u ? i just try ur code and it works perfectly , u fixed my problem Thank u very much. I wish u all the best in ur learning journey.

Hi ieahleen! My problem for survey-form project fixed and i want just to tell thank u for ur advice and trying solve my code problem. We are here all for the same goal to help each other to solve code problems and share our experiences in programming field. Thank u