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.



Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO


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.


Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:


Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO


                <!DOCTYPE html>
  <title>Responsive Web Design Projects - Build a Survey Form</title>
    <div id="main">
      <div id="header">
        <h1 id="title">Kombajn</h1>
        <p id="description">do zbierania kur po wioskach</p>
        <img src="">
        <form id="survey-form">
          <div class="form-item"><label id="name-label" for="name">Imię gospodarza<span class="required">*</span>: </label>
            <input type="text" id= "name" placeholder="jeśli nie znasz, wpisz X" required/></div>          
          <div class="form-item"><label id="email-label" for="email">Adres gospodarstwa<span class="required">*</span>: </label>
            <input type="email" id="e-mail" placeholder="podaj e-mail" required/>
            <p class="description">W formularzu podaj tylko adres e-mail, skontaktujemy się z Tobą w celu potwierdzenia prawdziwego adresu gospodarstwa.</p>
          <div class="form-item"><label id="number-label" for="number">Podaj liczbę kur<span class="required">*</span>: </label>
            <input type="number" id="number" min="0" max="900" placeholder="liczba kur" required/>
            <p class="description">Używamy przelicznika pomiędzy liczbą a ilością kur na metr sześcienny, przyjmujemy średnią wagę kury 2,5 kg, a więc ze kury średnio-ciężkie, jeśli masz inne kury, powiadom nas o tym wcześniej. Gęstość kury przyjmujemy za średnią na podstawie spalenia 900 ciał kurzych (na solarium, metoda kolorymetryczna). Jeśli koniecznie chcesz nam oddać koguty, policz je jako dwie kury. Kombajn mieści maksymalnie 900 sztuk kur (lub 450 kogutów). Bagaż kur nie jest liczony, ponieważ będzie przewożony w oddzielnym luku bagażowym, w razie potrzeby oddelegowujemy oddzielny transport.</p>
          <div class="form-item">
            <label id="dropdown-label" for="destinations">Kierunki podróży: </label>
            <select id="dropdown" name="destinations">
              <option disabled>ALL INCLUSIVE!!</option>
              <option disabled>ALL INCLUSIVE!!</option>
              <option>Pole sąsiada, tego złodzieja!</option>
          <div class="form-item">
            <label id="radio-label" for="comeback">Kiedy i czy chcesz widzieć kury z powrotem: </label>
              <input type="radio" id="yes14" name="comeback"><label for="yes14">Tak, za 14 dni</label>
            <input type="radio" id="yes7" name="comeback"><label for="yes7">Tak, za 7 dni</label>
            <input type="radio" id="maybe" name="comeback"><label for="maybe">Może</label>
            <input type="radio" id="notsure" name="comeback" checked><label for="notsure">Nie jestem pewien</label>
          <div class="form-item">
            <label id="checkbox-label" for="special-attractions">Specjalne atrakcje dla kur: </label>
              <input type="checkbox" id="coed" value="coed" name="special-attractions"><label for="coed">wczasy koedukacyjne</label>
            <input type="checkbox" id="bitch" value="bitch" name="special-attractions"><label for="bitch">bicze wodne</label>
            <input type="checkbox" id="openbar" value="openbar" name="special-attractions"><label for="openbar">open bar</label>
            <input type="checkbox" id="culture" value="culture" name="special-attractions"><label for="culture">wycieczki kulturalne</label>
          <div class="form-item">
            <label for="comments">Masz jakieś sugestie? Propozycje dodatkowych atrakcji?</label>
            <textarea id="comments" class="input-field" name="comment" placeholder="Miejsce na Twoje sugestie..."></textarea>
          <div class="form-item"><button id="submit" type="submit">Wyślij do mnie ten Kombajn, Panie!</button></div>


                body {
  background-color: beige;
#main {
  width: 75%;
  margin: auto;
  background-color: #9e6d3b;
  text-align: center;
  color: #d5c3a1;
.required {
  color: red;
.description {
  font-size: small;
  width: 75%;
img {
  width: 300px;

.form-item {
  margin-bottom: 20px;
  margin-left: 50px;

#submit {
  margin: 20px;

textarea {
  display: inline-block;
  margin: 20px;
  width: 75%;
  height: 300px;



What do you call a two-legged ghost cow? Boolean Beef.