index.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <style type="text/css">
  2. body {
  3. background: url(https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg30.51tietu.net%2Fpic%2F2016-090107%2F20160901070215elvhx1yovqm145170.jpg&refer=http%3A%2F%2Fimg30.51tietu.net&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1624704316&t=c902e04ad6a4ca7e1a3200c896bf3a04);
  4. color: white;
  5. }
  6. #title-div {
  7. margin: auto;
  8. }
  9. </style>
  10. <main>
  11. <div id="title-div">
  12. <h1 id="title">freeCodeCamp Survey Form</h1>
  13. <p id="description">Thank you for taking the time to help us improve the platform</p>
  14. </div>
  15. <form id="survey-form">
  16. <label id="name-label" for="name">Name</label><br>
  17. <input id="name" type="text" placeholder="Enter your name">
  18. <label id="email-label" for="email">Email</label><br>
  19. <input id="email" type="text" placeholder="Enter your email"><br>
  20. <label id="number-label" for="number">Age(option)</label><br>
  21. <input id="number" type="number" placeholder="10"><br>
  22. <label for="describes">Which option best describes your current role?</label><br>
  23. <input id="dropdown" type="text" list="optionlist" name="describes" placeholder="10"><br>
  24. <datalist id="optionlist">
  25. <option>one</option>
  26. <option>one</option>
  27. <option>one</option>
  28. <option>one</option>
  29. </datalist>
  30. </form>
  31. </main>