|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <title>Survey Form</title> |
| 6 | + <meta charset="utf-8"> |
| 7 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 8 | + <link rel="stylesheet" href="styles.css"> |
| 9 | +</head> |
| 10 | + |
| 11 | +<body> |
| 12 | + <h1 id="title">Survey Form</h1> |
| 13 | + <p id="description">Following details contain personal information</p> |
| 14 | + |
| 15 | + <form id="survey-form"> |
| 16 | + |
| 17 | + <div class="form-group"> |
| 18 | + <label id="name-label" for="name">Name</label> |
| 19 | + <input type="text" name="name" id="name" class="form-control" placeholder="Enter your name" required> |
| 20 | + </div> |
| 21 | + |
| 22 | + <div class="form-group"> |
| 23 | + <label id="email-label" for="email">Email</label> |
| 24 | + <input type="email" name="email" id="email" class="form-control" placeholder="Enter your Email" required> |
| 25 | + </div> |
| 26 | + |
| 27 | + <div class="form-group"> |
| 28 | + <label id="number-label" for="number">Age<span class="clue">(optional)</span></label> |
| 29 | + <input type="number" name="age" id="number" min="10" max="99" class="form-control" placeholder="Age"> |
| 30 | + </div> |
| 31 | + |
| 32 | + <div class="form-group"> |
| 33 | + <p>Which option best describes your current role?</p> |
| 34 | + <select id="dropdown" name="role" class="form-control" required> |
| 35 | + <option disabled selected>Select current role</option> |
| 36 | + <option value="student">Student</option> |
| 37 | + <option value="job">Full Time Job</option> |
| 38 | + <option value="learner">Full Time Learner</option> |
| 39 | + <option value="preferNo">Prefer not to say</option> |
| 40 | + <option value="other">Other</option> |
| 41 | + </select> |
| 42 | + </div> |
| 43 | + |
| 44 | + <div class="form-group"> |
| 45 | + <p>Would you recommend freeCodeCamp to a friend?</p> |
| 46 | + <label> |
| 47 | + <input name="user-recommend" value="definitely" type="radio" class="input-radio" checked> Definitely |
| 48 | + </label> |
| 49 | + <label> |
| 50 | + <input name="user-recommend" value="maybe" type="radio" class="input-radio"> Maybe |
| 51 | + </label> |
| 52 | + <label> |
| 53 | + <input name="user-recommend" value="not-sure" type="radio" class="input-radio"> Not sure |
| 54 | + </label> |
| 55 | + </div> |
| 56 | + |
| 57 | + <div class="form-group"> |
| 58 | + <p>What is your favorite feature of freeCodeCamp?</p> |
| 59 | + <select id="most-like" name="mostLike" class="form-control" required> |
| 60 | + <option disabled selected>Select an option</option> |
| 61 | + <option value="challenges">Challenges</option> |
| 62 | + <option value="projects">Projects</option> |
| 63 | + <option value="community">Community</option> |
| 64 | + <option value="openSource">Open Source</option> |
| 65 | + </select> |
| 66 | + </div> |
| 67 | + |
| 68 | + <div class="form-group"> |
| 69 | + <p>What would you like to see improved?<span class="clue">(Check all that apply)</span></p> |
| 70 | + </div> |
| 71 | + |
| 72 | + <div class="form-group"> |
| 73 | + <label> |
| 74 | + <input name="prefer" value="front-end-projects" type="checkbox" class="input-checkbox"> Front-end Projects |
| 75 | + </label> |
| 76 | + <label> |
| 77 | + <input name="prefer" value="back-end-projects" type="checkbox" class="input-checkbox"> Back-end Projects |
| 78 | + </label> |
| 79 | + <label> |
| 80 | + <input name="prefer" value="data-visualization" type="checkbox" class="input-checkbox"> Data Visualization |
| 81 | + </label> |
| 82 | + <label> |
| 83 | + <input name="prefer" value="challenges" type="checkbox" class="input-checkbox"> Challenges |
| 84 | + </label> |
| 85 | + <label> |
| 86 | + <input name="prefer" value="open-source-community" type="checkbox" class="input-checkbox"> Open Source Community |
| 87 | + </label> |
| 88 | + <label> |
| 89 | + <input name="prefer" value="gitter-help-rooms" type="checkbox" class="input-checkbox"> Gitter help rooms |
| 90 | + </label> |
| 91 | + <label> |
| 92 | + <input name="prefer" value="videos" type="checkbox" class="input-checkbox"> Videos |
| 93 | + </label> |
| 94 | + <label> |
| 95 | + <input name="prefer" value="city-meetups" type="checkbox" class="input-checkbox"> City Meetups |
| 96 | + </label> |
| 97 | + <label> |
| 98 | + <input name="prefer" value="wiki" type="checkbox" class="input-checkbox"> Wiki |
| 99 | + </label> |
| 100 | + <label> |
| 101 | + <input name="prefer" value="forum" type="checkbox" class="input-checkbox"> Forum |
| 102 | + </label> |
| 103 | + <label> |
| 104 | + <input name="prefer" value="additional-courses" type="checkbox" class="input-checkbox"> Additional Courses |
| 105 | + </label> |
| 106 | + </div> |
| 107 | + |
| 108 | + <div class="form-group"> |
| 109 | + <p>Any comments or suggestions?</p> |
| 110 | + <textarea id="comments" class="input-textarea" name="comment" placeholder="Enter your comment here..."></textarea> |
| 111 | + </div> |
| 112 | + |
| 113 | + <div class="form-group"> |
| 114 | + <button type="submit" id="submit" class="submit-button">Submit</button> |
| 115 | + </div> |
| 116 | +</form> |
| 117 | + </body> |
| 118 | +</html> |
0 commit comments