123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              
<!DOCTYPE html>
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<meta name ="viewport" content="width=device-width,initial-scale=1.0"/>
<title> Green-Turf </title>
<html>
<head>
	<link rel="stylesheet" href="survey.css">
	<script src="survey.js"></script>
</head>

<div>
	<h1 id="title"> Green-Turf Gardens </h1>
</div>
<body>
<form id="survey-form" action="GreenTurf.html" method="GET">
	<div>
		<p id="description" style="font-size:18px; font-wight:bold;"> We would like to know what you need for your Garden </p>
	</div>
	<div id="tab-align">
		<div class="label-align">
			<label for="name" id="name-label"> *Name: 
			</label>
		</div>
		<div class="right-align">
			<input type="text" class="input-fields" id="name" placeholder="Enter your fullname" required>
		</div>
	</div>
	<div id="tab-align">
		<div class="label-align">
			<label for="email" id="email-label"> *E-mail: 
			</label>
		</div>
		<div class="right-align">
			<input type="email" class="input-fields" id="email" placeholder="Your contact email" required>
		</div>
	</div>
	<div id="tab-align">
		<div class="label-align">
			<label for ="measurement" id="number-label"> *Landscape Dimension Size:
			</label>
		</div>
		<div class="right-align">
			<input type="number" min="1" max="500" class="input-fields" id="number" placeholder="Example: 400 Square-feets" required>
		</div>
	</div>
	<div id="tab-align">
		<div class="label-align">
			<label for="gender"> Gender: </label>
		</div>
		<div class="right-align">
				<ul  id="gender" type="text" value=" " style="list-style-type: none;">
					<li> <label> <input type="radio" name="gender" id="male" value="male" required> Male </label> </li>
					<li> <label> <input type="radio" name="gender" id="female" value="female" required> Female </label> </li>
					<li> <label> <input type="radio" name="gender" id="pnts" value="prefe not to say" required> Prefer not to say </label> </li>
				</ul>
		</div>
	</div>
	<div id="tab-align">
		<div class="label-align">
			<label for="specification" > What type of garden would you want?: 
			</label>
		</div>
		<div class="right-align">
			<select id="dropdown"  type="text" value=" " required>
				<option disabled selected value for ="length"> Make Selection </option>
				<option value for = "vegetable" id="vegetable" value="Vegetable Garden"> Vegetable Garden </option>
				<option value for= "flower" id="flower" value="Flower Garden"> Flower Garden </option>
				<option value for= "wall" id="wall" value="Wall Garden"> Wall Garden </option>
				<option value for= "container" id="container" value="Container Garden"> Container Garden </option>
				<option value for= "kitchen" id="kitchen" value="Kitchen Garden"> Kitchen Garden </option>
			</select>
		</div>
		<div id="tab-align">
			<div class="label-align">
				<label for ="check"> Check the pictures of our Outdoor plants, <span> you can have a view <a href="https://www.thespruce.com/outdoor-garden-plants-that-make-great-houseplants-1402009" target="_blank" style="background-color:#8bbabb; padding:2px 2px; border-radius:2px; text-decoration:none;"> here. </a> </span>
				</label>
			</div>
			<div class="right-align">
				<ul  id="plantSpec" style="list-style-type: none;">
					<li> <label> <input type="checkbox" name="plant-spec" value="Geraniums (Pelargonium)"> Geraniums (Pelargonium) </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Begonias"> Begonias </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Fuchsia"> Fuchsia </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Abutilon (Flowering Maple)"> Abutilon (Flowering Maple) </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Caladium"> Caladium </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Coleus"> Coleus </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Tropical Hibiscus"> Tropical Hibiscus </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Hot Peppers"> Hot Peppers </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Basil"> Basil </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Rosemary"> Rosemary </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Lemon Grass"> Lemon Grass </label> </li>
					<li> <label> <input type="checkbox" name="plant-spec" value="Parsley"> Parsley </label> </li>
				</ul>
			</div>
		</div>
		<div id="tab-align">
			<p id="demo"> </p>
			<div class="label-align" id="button">
	                    <label for="suggestions" id="comment-text">Any Comments or Suggestions?</label> 
	        </div>
	        <div class="right-align">
	                <textarea id="comment-box" rows="4" cols="50" placeholder="Enter text here..."></textarea>
	                </textarea> 
	       </div>
	    </div>
	    <div>
	    	<div class="msg"></div>
            <button id="submit" onclick= "successButton()"> Submit </button>
        </div>

        <ul id="users"></ul>
</div>
</form>
</body>
</html>
            
          
!
            
              
	html,body{
		background-color:#aee7e8;
		font-family: Raleway, Lato;
		text-align:center;
		font-size:17px;
	}

	#survey-form{
		background-color:#fafafa;
		border-radius:5px;
		max-width:900px;
		display:block;
		margin:0 auto;
		padding:20px 20px;
		box-shadow: 0 1px 2px rgba(0,0,0,0.19), 0 2px 3px rgba(0,0,0,0.2);
	}

	#title{
		font-family:Montserrat;
		margin:30px 10px;
		text-shadow: 0 2px 3px rgba(0,0,0,0.19), 0 3px 4px rgba(0,0,0,0.2);
		color:#525252;
	}

	#tab-align{
		margin:0 auto;
		display:block;
		margin-bottom:15px;
	}

	.input-fields{
		border:1px solid #c0c0c0;
		height: 35px;
		width:300px;
		padding:0 5px;
		border-radius:2px;
		font-family:Raleway;
		font-size:15px;
		margin:10px;
		box-shadow: 0 1px 2px rgba(0,0,0,0.19);
	}

	#dropdown{
		border:1px solid #c0c0c0;
		height: 35px;
		width:180px;
		padding:5px;
		border-radius:2px;
		font-family:Raleway;
		font-size:15px;
		margin:10px;
		box-shadow: 0 1px 2px rgba(0,0,0,0.19);
	}

	.label-align{
		text-align:right;
		display:inline-block;
		vertical-align:middle;
		width:30%;
		margin-top: 18px;
		
	}

	.right-align{
		text-align:left;
		display:inline-block;
		margin-left:10px;
		width:40%;
		vertical-align:top;
	}

	#comment-box{
		font-family:Raleway;
		font-size:15px;
		border-radius:2px;
		box-shadow: 0 1px 2px rgba(0,0,0,0.19);
		padding:3px 4px;
		max-width: 300px
	}

	input[type="radio"]{
		margin:10px 0;
	}
            

    input[type="checkbox"]{
    	margin:10px 0;
   	}

	#tab-align > .label-align > a:hover{
		background-color:#801336;
	}

	#submit{
		margin-top:10px;
		width:100px;
		height:50px;
		border:0 solid;
		background-color:#348498;
		font-family:Raleway;
		font-size:19px;
		border-radius:3px;
		box-shadow:1px 2px 3px rgba(0,0,0,0.19);
	}
	#submit:hover{
		background-color:#414141;
		color:white;
	}

	.error{
		background-color:#6e2142;
		padding:5px;
		color:#eaeaea;
		font-family:Raleway;
		max-width:300px;
		margin:5px auto;
		box-shadow:2px 4px 5px rgba(0,0,0,0.2);
		border:1px solid #c0c0c0;
		border-radius:3px;

	}

	.success{
		font-family:Raleway;
		background-color:green;
		padding:5px;
		color:white;
		border-radius:3px;
		max-width:900px;
		margin:5px auto;
		box-shadow:2px 4px 5px rgba(0,0,0,0.2);
		border:1px solid #c0c0c0;
	}

	@media screen and (max-width: 619px) {
  .input-fields {
    width: 90%;
  }

  #comment-box{
  	width:80%;
  }

  .label-align{
		width:20%;
		
	}
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console