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


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                   <!DOCTYPE html>
    <script src=""></script>
    <header><link href="mystyle.css" rel="stylesheet" type="text/css">
<h1 class="title">Ah welcome!</h1>
<p id ="description">Nice to meet you!Can I have a few seconds of your time?</p>
<form id ="survey-form" class="grid-inline">
<div class="type1">
<label  for = "name" > First things first,who are you lovely online  stranger? </label>
<input  class="border " type= "name" id="name"  placeholder ="Your name" name="name">
    <div class="type1">
  <label for="email">Do you have an email?: </label>
      <input type="email"  class="border"  id="email" name="email" placeholder="Insert  random email  address" required> 
<div class="type1">
<label for="input">How much time have you been coding?  </label>
<input type= "number"   class="border " id="number" placeholder ="Months"  name="number" required >
<div class="type1">
<p>What should I work more on?</p>  
<select >
<option value="title">Title</option>
<option value="survey">Survey form </option>
<option  value="background">Background</option>
<option value="design">Design</option>
<div class="type1">
  <legend>How much more work  should I put on this page?</legend>
<label for = "option1">
<input id="option1"   class="border" type="radio" name="group">A lot.And I mean a lot.</label>
<label for="option2">
<input id="option2"   class="border" type="radio" name="group">Looking already good mate!</label>
 <div class="type1">
 <legend>Would you visit again?</legend>
<input id="opt1" type="checkbox" name="group2" value="one">
<label for="opt1"> Yes</label><br>
<input id="opt2" type="checkbox" name="group2" value="two">
<label for="opt2">No</label>

<textarea >Any parting words?</textarea>
<button type="submit">Submit text</button> 


.title {
text-align: center;
font-size: 3em;
font-weight: bold;
font-color: hsl (0,0,12%);
font-family: Sans Serif;

  #description {
  text-align: center;
font-size: 1.5em;
font-weight: normal;

form {

font-size: 0.9em;
color: hsl (0,0,15%)  ;
font-family: Open Sans;
padding: 30px;

.grid-inline .type1 {
  display: grid;
  grid-column-gap: 100px;
  grid-template-columns: 30% 35%;

 .grid-inline {
  display: grid;
 grid-row-gap: 30px;
  grid-template-rows: 1fr;

button  {
width: 100px;

width: 200px;
height: 70px;