cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

              <h2>Week, month and datetime-local 입력</h2>

<p>자바스크립트로 표시되는 값을 보려면 선택하세요.</p>

    <input type="week" onchange="showValue('week', event.target.value)">
    <span id="week"></span>

    <input type="month" onchange="showValue('month', event.target.value)"> 
    <span id="month"></span>

    <label>Datetime local</label>
    <input type="datetime-local" onchange="showValue('datetime-local', event.target.value)">
    <span id="datetime-local"></span>
              body {
  font-family: '나눔고딕','nanumgothic','돋움','dotum',san-serif;
  color: #333;

section {
  font-size: 1.2em;

div {
  margin-bottom: 10px;
  padding: 15px 6px;
  width: 500px;
  background: #f3f3f3;

label {
  width: 150px;
  display: inline-block;
  text-align: right;

input {
  width: 180px;
  vertical-align: text-top;
              function showValue(id, value) {
  document.getElementById(id).innerHTML = value;
Loading ..................