Created
July 9, 2018 09:18
-
-
Save wanyutu/5ee4b6f0ad20a31c1c62a29be7df572e to your computer and use it in GitHub Desktop.
Survey Form-FCC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css" /> | |
<h1 id="title"> <span>Survey</span> Form</h1> | |
<p id="description"> Let Us Know How we can Improve FreeCode Camp</p> | |
<div class=wrapper animated bounceInLeft> | |
<form id="survey-form"> | |
<div class=info> | |
<label class="labels" id="name-label"><i class="fa fa-road"></i>Name</label> | |
<div class="inputs"> | |
<input id="name" type="text" name="name" placeholder="Enter Your Name" required> | |
</div> | |
<label class="labels" id="email-label">Email</label> | |
<div class="inputs"> | |
<input id="email" type="email" placeholder="Enter Your Email" required> | |
</div> | |
<label class="labels" id="number-label">Age</label> | |
<div class="inputs"> | |
<input id="number" required min="12" max="100" type="number" placeholder="Enter Your Age"> | |
</div> | |
</div> | |
<div class="survey"> | |
<label class="labels">Which option best describes your current role?</label> | |
<div class="inputs"> | |
<select id="dropdown" type="dropdown"> | |
<option disabled selected value>Select an option</option> <option id="student">Student</option> | |
<option id="full-job">Full Time Job</option> | |
<option id="full-learner">Full Time learner</option> | |
<option id="not-say">Prefer Not To Say</option> | |
</select> | |
</div> | |
<label>How likely is that you would recommend freeCodeCamp to a friend?</label> | |
<ul> | |
<li><input type="radio" id="definitely" name="recommend" value="1" <input/> | |
<label>Definitely</label></li> | |
<li><input type="radio" value="2" class="inputs" id="maybe" name="recommend" </input> | |
<label>Maybe</label></li> | |
<li><input class="inputs" value="3" type="radio" id="not-sure" name="recommend" /> | |
<label>Not Sure</label></li> | |
</ul> | |
<div class="labels"> | |
<label>What do you like most in FCC</label> | |
<select type="dropdown"> | |
<option disabled selected class="inputs" value>Select an option</option> | |
<option class="inputs">Challenges</option> | |
<option class="inputs">Projects</option> | |
<option class="inputs">Open Source</option> | |
<option class="inputs">Community</option> | |
</select> | |
</div> | |
<div class="labels"> | |
<label>Things that should be improved in the future<br> | |
(Check all that apply):</label> | |
<div class="inputs"> | |
<div class="check" | |
<input type="checkbox" value="1"> | |
<label>Front-End-Projects</label> | |
</input> | |
<input type="checkbox" value="2" > | |
<label>Back-End-Projects</label> | |
</input> | |
<input type="checkbox" value="3" > | |
<label class="inputs">Videos</label> | |
</input> | |
<input type="checkbox" value="4" > | |
<label class="inputs">Data-Visualisation</label> | |
</input> | |
<input type="checkbox" value="5" > | |
<label class="inputs">Open-Source-Community</label> | |
</input> | |
<input type="checkbox" | |
value="6" > | |
<label class="inputs">Gitter-Help-Rooms</label> | |
</input> | |
<input type="checkbox" value="7" > | |
<label class="inputs">City-Meetups</label> | |
</input> | |
<input type="checkbox" value="8" expected > | |
<label class="inputs">Forum</label> | |
</input> | |
<input type="checkbox" value="9" > | |
<label class="inputs">Additional Courses</label> | |
</input> | |
<input type="checkbox" value="10" > | |
<label class="inputs">wiki</label> | |
</input> | |
<input type="checkbox" value="11" > | |
<label class="inputs">Challenges</label> | |
</input> | |
</ul> | |
</div> | |
<div class="labels"> | |
<label>Any Comments or Suggestions?</label> | |
</div> | |
<div class="inputs"> | |
<textarea placeholder="Enter Your Comment Here...."></textarea> | |
</div> | |
</div> | |
</div> | |
<button type="submit" id="submit">Submit</button> | |
</form> | |
</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*{ | |
box-sizing: border-box; | |
} | |
::-webkit-input-placeholder { | |
text-align: center;} | |
body{ | |
background:#8080ff; | |
line-height:1.7; | |
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
padding:1em; | |
} | |
h1{ | |
text-align:center; | |
font-size:40px; | |
} | |
p{ | |
text-align:center; | |
font-size:25px | |
} | |
form{ | |
text-align:center; | |
max-width:auto; | |
padding:1em; | |
} | |
span{ | |
color:white; | |
} | |
ul{ | |
list-style:none; | |
padding:0; | |
} | |
.wrapper{ | |
box-shadow:0 0 20px 0 rgba(72,94,116,0.7); | |
margin:0; | |
padding:0; | |
} | |
.info{ | |
background: #99bbff; | |
margin:0 0 2rem 0; | |
padding:0 0 2rem 0; | |
font-size:18px; | |
font-weight:bold; | |
} | |
.survey { | |
background:white; | |
line-height:3rem; | |
font-weight:bold; | |
padding:0; | |
margin:0; | |
} | |
textarea { | |
width:70%; | |
height:100px; | |
margin:5px; | |
padding:3px; | |
} | |
button{ | |
width:25%; | |
height:50px; | |
margin-bottom:10px; | |
background: #00b3b3; | |
border:0; | |
text-transform:uppercase; | |
} | |
button:hover,button:focus{ | |
background-color:#3333ff; | |
color:white; | |
font-weight:bold; | |
transition: background-color 1s ease-out; | |
} | |
.check{ | |
display:block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment