Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

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.

HTML

              
                <h1>Add a meeting</h1>
<form action="http://arewemeetingyet.com/" method="get">

  <label for="timezone">Timezone</label>  
  <input type="text" name="timezone" id="timezone" size="30" list="tz" placeholder="Continent/Timezone" required>
  
  <label for="date">Date</label>
  <input type="date" name="date" id="date" size="20" placeholder="YYYY-MM-DD" required>

  <label for="time">Time</label>
  <input type="time" id="time" size="20" placeholder="HH:MM" required>
  
  <fieldset>
    <legend>Repeat?</legend>
    <input type="radio" name="repeat" id="repeat-never" value="" checked required><label for="repeat-never">Never</label>
        <input type="radio" name="repeat" id="repeat-w" value="w"><label for="repeat-w">Weekly</label>
    <input type="radio" name="repeat" id="repeat-b" value="b"><label for="repeat-b">Bi-weekly</label>
  </fieldset>
  
  <label for="title">Title</label>
  <input type="text" name="title" id="title" size="30" placeholder="My awesome meeting" required>

  <input type="submit" value="Create meeting URL">
</form>

<!-- http://en.wikipedia.org/wiki/List_of_tz_database_time_zones -->
<datalist id="tz">
  <option>Africa/Abidjan</option>
  <option>Africa/Accra</option>
  <option>Africa/Addis Ababa</option>
  <option>Africa/Algiers</option>
  <option>Africa/Asmara</option>
  <option>Africa/Bamako</option>
  <option>Africa/Bangui</option>
  <option>Africa/Banjul</option>
  <option>Africa/Bissau</option>
  <option>Africa/Blantyre</option>
  <option>Africa/Brazzaville</option>
  <option>Africa/Bujumbura</option>
  <option>Africa/Cairo</option>
  <option>Africa/Casablanca</option>
  <option>Africa/Ceuta</option>
  <option>Africa/Conakry</option>
  <option>Africa/Dakar</option>
  <option>Africa/Dar es Salaam</option>
  <option>Africa/Djibouti</option>
  <option>Africa/Douala</option>
  <option>Africa/El Aaiun</option>
  <option>Africa/Freetown</option>
  <option>Africa/Gaborone</option>
  <option>Africa/Harare</option>
  <option>Africa/Johannesburg</option>
  <option>Africa/Juba</option>
  <option>Africa/Kampala</option>
  <option>Africa/Khartoum</option>
  <option>Africa/Kigali</option>
  <option>Africa/Kinshasa</option>
  <option>Africa/Lagos</option>
  <option>Africa/Libreville</option>
  <option>Africa/Lome</option>
  <option>Africa/Luanda</option>
  <option>Africa/Lubumbashi</option>
  <option>Africa/Lusaka</option>
  <option>Africa/Malabo</option>
  <option>Africa/Maputo</option>
  <option>Africa/Maseru</option>
  <option>Africa/Mbabane</option>
  <option>Africa/Mogadishu</option>
  <option>Africa/Monrovia</option>
  <option>Africa/Nairobi</option>
  <option>Africa/Ndjamena</option>
  <option>Africa/Niamey</option>
  <option>Africa/Nouakchott</option>
  <option>Africa/Ouagadougou</option>
  <option>Africa/Porto-Novo</option>
  <option>Africa/Sao Tome</option>
  <option>Africa/Tripoli</option>
  <option>Africa/Tunis</option>
  <option>Africa/Windhoek</option>
  <option>America/Adak</option>
  <option>America/Anchorage</option>
  <option>America/Anguilla</option>
  <option>America/Antigua</option>
  <option>America/Araguaina</option>
  <option>America/Argentina/Buenos Aires</option>
  <option>America/Argentina/Catamarca</option>
  <option>America/Argentina/Cordoba</option>
  <option>America/Argentina/Jujuy</option>
  <option>America/Argentina/La Rioja</option>
  <option>America/Argentina/Mendoza</option>
  <option>America/Argentina/Rio Gallegos</option>
  <option>America/Argentina/Salta</option>
  <option>America/Argentina/San Juan</option>
  <option>America/Argentina/San Luis</option>
  <option>America/Argentina/Tucuman</option>
  <option>America/Argentina/Ushuaia</option>
  <option>America/Aruba</option>
  <option>America/Asuncion</option>
  <option>America/Atikokan</option>
  <option>America/Bahia</option>
  <option>America/Bahia Banderas</option>
  <option>America/Barbados</option>
  <option>America/Belem</option>
  <option>America/Belize</option>
  <option>America/Blanc-Sablon</option>
  <option>America/Boa Vista</option>
  <option>America/Bogota</option>
  <option>America/Boise</option>
  <option>America/Cambridge Bay</option>
  <option>America/Campo Grande</option>
  <option>America/Cancun</option>
  <option>America/Caracas</option>
  <option>America/Cayenne</option>
  <option>America/Cayman</option>
  <option>America/Chicago</option>
  <option>America/Chihuahua</option>
  <option>America/Costa Rica</option>
  <option>America/Creston</option>
  <option>America/Cuiaba</option>
  <option>America/Curacao</option>
  <option>America/Danmarkshavn</option>
  <option>America/Dawson</option>
  <option>America/Dawson Creek</option>
  <option>America/Denver</option>
  <option>America/Detroit</option>
  <option>America/Dominica</option>
  <option>America/Edmonton</option>
  <option>America/Eirunepe</option>
  <option>America/El Salvador</option>
  <option>America/Fortaleza</option>
  <option>America/Glace Bay</option>
  <option>America/Godthab</option>
  <option>America/Goose Bay</option>
  <option>America/Grand Turk</option>
  <option>America/Grenada</option>
  <option>America/Guadeloupe</option>
  <option>America/Guatemala</option>
  <option>America/Guayaquil</option>
  <option>America/Guyana</option>
  <option>America/Halifax</option>
  <option>America/Havana</option>
  <option>America/Hermosillo</option>
  <option>America/Indiana/Indianapolis</option>
  <option>America/Indiana/Knox</option>
  <option>America/Indiana/Marengo</option>
  <option>America/Indiana/Petersburg</option>
  <option>America/Indiana/Tell City</option>
  <option>America/Indiana/Vevay</option>
  <option>America/Indiana/Vincennes</option>
  <option>America/Indiana/Winamac</option>
  <option>America/Inuvik</option>
  <option>America/Iqaluit</option>
  <option>America/Jamaica</option>
  <option>America/Juneau</option>
  <option>America/Kentucky/Louisville</option>
  <option>America/Kentucky/Monticello</option>
  <option>America/La Paz</option>
  <option>America/Lima</option>
  <option>America/Los Angeles</option>
  <option>America/Maceio</option>
  <option>America/Managua</option>
  <option>America/Manaus</option>
  <option>America/Martinique</option>
  <option>America/Matamoros</option>
  <option>America/Mazatlan</option>
  <option>America/Menominee</option>
  <option>America/Merida</option>
  <option>America/Metlakatla</option>
  <option>America/Mexico City</option>
  <option>America/Miquelon</option>
  <option>America/Moncton</option>
  <option>America/Monterrey</option>
  <option>America/Montevideo</option>
  <option>America/Montreal</option>
  <option>America/Montserrat</option>
  <option>America/Nassau</option>
  <option>America/New York</option>
  <option>America/Nipigon</option>
  <option>America/Nome</option>
  <option>America/Noronha</option>
  <option>America/North Dakota/Beulah</option>
  <option>America/North Dakota/Center</option>
  <option>America/North Dakota/New Salem</option>
  <option>America/Ojinaga</option>
  <option>America/Panama</option>
  <option>America/Pangnirtung</option>
  <option>America/Paramaribo</option>
  <option>America/Phoenix</option>
  <option>America/Port of Spain</option>
  <option>America/Port-au-Prince</option>
  <option>America/Porto Velho</option>
  <option>America/Puerto Rico</option>
  <option>America/Rainy River</option>
  <option>America/Rankin Inlet</option>
  <option>America/Recife</option>
  <option>America/Regina</option>
  <option>America/Resolute</option>
  <option>America/Rio Branco</option>
  <option>America/Santa Isabel</option>
  <option>America/Santarem</option>
  <option>America/Santiago</option>
  <option>America/Santo Domingo</option>
  <option>America/Sao Paulo</option>
  <option>America/Scoresbysund</option>
  <option>America/Sitka</option>
  <option>America/St Johns</option>
  <option>America/St Kitts</option>
  <option>America/St Lucia</option>
  <option>America/St Thomas</option>
  <option>America/St Vincent</option>
  <option>America/Swift Current</option>
  <option>America/Tegucigalpa</option>
  <option>America/Thule</option>
  <option>America/Thunder Bay</option>
  <option>America/Tijuana</option>
  <option>America/Toronto</option>
  <option>America/Tortola</option>
  <option>America/Vancouver</option>
  <option>America/Whitehorse</option>
  <option>America/Winnipeg</option>
  <option>America/Yakutat</option>
  <option>America/Yellowknife</option>
  <option>Antarctica/Casey</option>
  <option>Antarctica/Davis</option>
  <option>Antarctica/DumontDUrville</option>
  <option>Antarctica/Macquarie</option>
  <option>Antarctica/Mawson</option>
  <option>Antarctica/McMurdo</option>
  <option>Antarctica/Palmer</option>
  <option>Antarctica/Rothera</option>
  <option>Antarctica/Syowa</option>
  <option>Antarctica/Vostok</option>
  <option>Asia/Aden</option>
  <option>Asia/Almaty</option>
  <option>Asia/Amman</option>
  <option>Asia/Anadyr</option>
  <option>Asia/Aqtau</option>
  <option>Asia/Aqtobe</option>
  <option>Asia/Ashgabat</option>
  <option>Asia/Baghdad</option>
  <option>Asia/Bahrain</option>
  <option>Asia/Baku</option>
  <option>Asia/Bangkok</option>
  <option>Asia/Beirut</option>
  <option>Asia/Bishkek</option>
  <option>Asia/Brunei</option>
  <option>Asia/Choibalsan</option>
  <option>Asia/Chongqing</option>
  <option>Asia/Colombo</option>
  <option>Asia/Damascus</option>
  <option>Asia/Dhaka</option>
  <option>Asia/Dili</option>
  <option>Asia/Dubai</option>
  <option>Asia/Dushanbe</option>
  <option>Asia/Gaza</option>
  <option>Asia/Harbin</option>
  <option>Asia/Hebron</option>
  <option>Asia/Ho Chi Minh</option>
  <option>Asia/Hong Kong</option>
  <option>Asia/Hovd</option>
  <option>Asia/Irkutsk</option>
  <option>Asia/Jakarta</option>
  <option>Asia/Jayapura</option>
  <option>Asia/Jerusalem</option>
  <option>Asia/Kabul</option>
  <option>Asia/Kamchatka</option>
  <option>Asia/Karachi</option>
  <option>Asia/Kashgar</option>
  <option>Asia/Kathmandu</option>
  <option>Asia/Kolkata</option>
  <option>Asia/Krasnoyarsk</option>
  <option>Asia/Kuala Lumpur</option>
  <option>Asia/Kuching</option>
  <option>Asia/Kuwait</option>
  <option>Asia/Macau</option>
  <option>Asia/Magadan</option>
  <option>Asia/Makassar</option>
  <option>Asia/Manila</option>
  <option>Asia/Muscat</option>
  <option>Asia/Nicosia</option>
  <option>Asia/Novokuznetsk</option>
  <option>Asia/Novosibirsk</option>
  <option>Asia/Omsk</option>
  <option>Asia/Oral</option>
  <option>Asia/Phnom Penh</option>
  <option>Asia/Pontianak</option>
  <option>Asia/Pyongyang</option>
  <option>Asia/Qatar</option>
  <option>Asia/Qyzylorda</option>
  <option>Asia/Rangoon</option>
  <option>Asia/Riyadh</option>
  <option>Asia/Sakhalin</option>
  <option>Asia/Samarkand</option>
  <option>Asia/Seoul</option>
  <option>Asia/Shanghai</option>
  <option>Asia/Singapore</option>
  <option>Asia/Taipei</option>
  <option>Asia/Tashkent</option>
  <option>Asia/Tbilisi</option>
  <option>Asia/Tehran</option>
  <option>Asia/Thimphu</option>
  <option>Asia/Tokyo</option>
  <option>Asia/Ulaanbaatar</option>
  <option>Asia/Urumqi</option>
  <option>Asia/Vientiane</option>
  <option>Asia/Vladivostok</option>
  <option>Asia/Yakutsk</option>
  <option>Asia/Yekaterinburg</option>
  <option>Asia/Yerevan</option>
  <option>Atlantic/Azores</option>
  <option>Atlantic/Bermuda</option>
  <option>Atlantic/Canary</option>
  <option>Atlantic/Cape Verde</option>
  <option>Atlantic/Faroe</option>
  <option>Atlantic/Madeira</option>
  <option>Atlantic/Reykjavik</option>
  <option>Atlantic/South Georgia</option>
  <option>Atlantic/St Helena</option>
  <option>Atlantic/Stanley</option>
  <option>Australia/Adelaide</option>
  <option>Australia/Brisbane</option>
  <option>Australia/Broken Hill</option>
  <option>Australia/Currie</option>
  <option>Australia/Darwin</option>
  <option>Australia/Eucla</option>
  <option>Australia/Hobart</option>
  <option>Australia/Lindeman</option>
  <option>Australia/Lord Howe</option>
  <option>Australia/Melbourne</option>
  <option>Australia/Perth</option>
  <option>Australia/Sydney</option>
  <option>Europe/Amsterdam</option>
  <option>Europe/Andorra</option>
  <option>Europe/Athens</option>
  <option>Europe/Belgrade</option>
  <option>Europe/Berlin</option>
  <option>Europe/Brussels</option>
  <option>Europe/Bucharest</option>
  <option>Europe/Budapest</option>
  <option>Europe/Chisinau</option>
  <option>Europe/Copenhagen</option>
  <option>Europe/Dublin</option>
  <option>Europe/Gibraltar</option>
  <option>Europe/Helsinki</option>
  <option>Europe/Istanbul</option>
  <option>Europe/Kaliningrad</option>
  <option>Europe/Kiev</option>
  <option>Europe/Lisbon</option>
  <option>Europe/London</option>
  <option>Europe/Luxembourg</option>
  <option>Europe/Madrid</option>
  <option>Europe/Malta</option>
  <option>Europe/Minsk</option>
  <option>Europe/Monaco</option>
  <option>Europe/Moscow</option>
  <option>Europe/Oslo</option>
  <option>Europe/Paris</option>
  <option>Europe/Prague</option>
  <option>Europe/Riga</option>
  <option>Europe/Rome</option>
  <option>Europe/Samara</option>
  <option>Europe/Simferopol</option>
  <option>Europe/Sofia</option>
  <option>Europe/Stockholm</option>
  <option>Europe/Tallinn</option>
  <option>Europe/Tirane</option>
  <option>Europe/Uzhgorod</option>
  <option>Europe/Vaduz</option>
  <option>Europe/Vienna</option>
  <option>Europe/Vilnius</option>
  <option>Europe/Volgograd</option>
  <option>Europe/Warsaw</option>
  <option>Europe/Zaporozhye</option>
  <option>Europe/Zurich</option>
  <option>Indian/Antananarivo</option>
  <option>Indian/Chagos</option>
  <option>Indian/Christmas</option>
  <option>Indian/Cocos</option>
  <option>Indian/Comoro</option>
  <option>Indian/Kerguelen</option>
  <option>Indian/Mahe</option>
  <option>Indian/Maldives</option>
  <option>Indian/Mauritius</option>
  <option>Indian/Mayotte</option>
  <option>Indian/Reunion</option>
  <option>Pacific/Apia</option>
  <option>Pacific/Auckland</option>
  <option>Pacific/Chatham</option>
  <option>Pacific/Chuuk</option>
  <option>Pacific/Easter</option>
  <option>Pacific/Efate</option>
  <option>Pacific/Enderbury</option>
  <option>Pacific/Fakaofo</option>
  <option>Pacific/Fiji</option>
  <option>Pacific/Funafuti</option>
  <option>Pacific/Galapagos</option>
  <option>Pacific/Gambier</option>
  <option>Pacific/Guadalcanal</option>
  <option>Pacific/Guam</option>
  <option>Pacific/Honolulu</option>
  <option>Pacific/Johnston</option>
  <option>Pacific/Kiritimati</option>
  <option>Pacific/Kosrae</option>
  <option>Pacific/Kwajalein</option>
  <option>Pacific/Majuro</option>
  <option>Pacific/Marquesas</option>
  <option>Pacific/Midway</option>
  <option>Pacific/Nauru</option>
  <option>Pacific/Niue</option>
  <option>Pacific/Norfolk</option>
  <option>Pacific/Noumea</option>
  <option>Pacific/Pago Pago</option>
  <option>Pacific/Palau</option>
  <option>Pacific/Pitcairn</option>
  <option>Pacific/Pohnpei</option>
  <option>Pacific/Port Moresby</option>
  <option>Pacific/Rarotonga</option>
  <option>Pacific/Saipan</option>
  <option>Pacific/Tahiti</option>
  <option>Pacific/Tarawa</option>
  <option>Pacific/Tongatapu</option>
  <option>Pacific/Wake</option>
  <option>Pacific/Wallis</option>
  <option>UTC</option>
</datalist>
              
            
!

CSS

              
                body {
  font: 100%/1.3 sans-serif;
  color: #333;
  background: #fafafa;
  padding: 2em;
}

input {
  font: inherit;
  padding: .3em .5em;
}

label,
fieldset,
input[type="submit"] {
  display: block;
  margin: 1em 0 0;
}
fieldset {
  border: none;
  padding: 0;
}
fieldset > label {
  display: inline;
  padding-right: .7em;
}

.meeting {
  display: block;
  border: 1px solid blue;
  border-radius: .3em;
  padding: 1em;
  margin: 1em 0;
  background: rgba( 0, 0, 255, .1 );
}
              
            
!

JS

              
                (function( $ ) {
  'use strict';
  
  // polyfill support for date input
  if ( document.getElementById( 'date' ).type !== 'date' ) {
    $( '#date' ).datepicker({ dateFormat: 'yy-mm-dd' });
  }
  // polyfill support for time input
  if ( document.getElementById( 'time' ).type !== 'time' ) {
    $( '#time' ).timepicker({
      timeFormat: 'H:i',
      scrollDefaultNow: true
    });
  }
  
  $( 'form' ).on( 'submit', function( event ) {

    // construct URL
    var form = this,
        URL = 'http://arewemeetingyet.com/',
        params = [ 'timezone', 'date', 'time', 'repeat', 'title' ]
    ;

    params = params.map(function( name ) {
      return form.elements[ name ].value;
    }).filter(function( value ) {
      return !! value;
    });
    
    // keep the timezone, lose the continent
    params[ 0 ] = params[ 0 ].replace( /^.*\/(.*)$/, '$1' );
    // replace spaces with underscore in timezone
    params[ 0 ] = params[ 0 ].replace( /\s+/g, '_' );
   
    // encode all params and append to URL
    URL += params
      .map( encodeURIComponent )
      .join( '/' )
      // replace %3A with ':' (%3A not handled)
      .replace( /%3A/g, ':' )
    ;
    
    // print URL
    $( this ).after( '<a class="meeting" href="' + URL + '">' + URL + '</a>' );
    
    event.preventDefault();
    return false;
  });
}( jQuery ));
              
            
!
999px

Console