Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

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

Packages

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.

Behavior

Auto Save

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.

HTML

              
                <form action="" name="forme">
  <p>
  <span id="hour"></span>:
  <span id="min"></span>:
  <span id="sec"></span>
  </p>
    <input type="hidden" name="clock">
</Form> 


1 =T,D  
2 = N
3 = M
4 = R
5 = L
6 = sh,ch,
7 = K,g
8 = f,v
9 = p,b
0 = s,z 
              
            
!

CSS

              
                span#hour{
  color:red;
  font-size: 32px;
}
span#min{
  color:blue;
  font-size: 32px;
}
span#sec{
  color:black;
  font-size: 32px;

              
            
!

JS

              
                function runTime() {
  var theTime = new Date(); // set variable theTime to current time
  var hr = theTime.getHours(); // set variable hr to the current hour
  var mn = theTime.getMinutes(); //set mn to the mins
  var sc = theTime.getSeconds(); // set sc to the secs
  var system = 1; //set the number system. if you change this number it will change the system its using
  
 if (system == 1) { //set the values for system 1
  var zero = "zoo" ;
  var one = "Tie" ;
  var two = "wiNe" ;
  var three = "Ammo" ;
  var four= "Arrow" ;
  var five = "Oil" ;
  var six = "Shoe" ;
  var seven = "Cow" ;
  var eight = "Ivy" ; 
  var nine = "Pie" ;
  var ten = "Daisy" ;	
  var eleven = "Tot" ;
  var twelve = "tin" ;
  var thirteen = "tomb" ;
  var fourteen = "tyre" ;
  var fifteen = "towel" ;
  var sixteen = "dish" ;
  var seventeen = "dog" ;
  var eighteen = "dove" ;
  var nineteen = "tub" ;
  var twenty = "nose" ;
  var twentyone = "net" ;
  var twentytwo = "nose" ;
  var twentythree = "nun" ;
  var twentyfour = "nero" ;
  var twentyfive = "nail" ;
  var twentysix = "notch" ;
  var twentyseven = "neck" ;
  var twentyeight = "knife" ;
  var twentynine = "nob" ;
  var thirty = "mice" ;
  var thirtyone = "mat" ;
  var thirtytwo = "moon" ;
  var thirtythree = "mummy" ;
  var thirtyfour = "mower" ;
  var thirtyfive = "mule" ;
  var thirtysix = "match" ;
  var thirtyseven = "mug" ;
  var thirtyeight = "movie" ;
  var thirtynine = "mop" ;
  var forty	 = "rose" ;
  var fortyone = "rod" ;
  var fortytwo = "rain" ;
  var fortythree = "ram" ;
  var fortyfour = "rower" ;
  var fortyfive = "roll" ;
  var fortysix = "roach" ;
  var fortyseven  = "rock" ;
  var fortyeight = "roof" ;
  var fortynine = "rope" ;
  var fifty = "lice" ;
  var fiftyone = "lad" ;
  var fiftytwo = "Lion" ;
  var fiftythree = "lime" ;
  var fiftyfour = "lyre" ;
  var fiftyfive = "lilly" ;
  var fiftysix = "leech" ;
  var fiftyseven = "log" ;
  var fiftyeight = "leaf" ;
  var fiftynine = "lip" ;
  var sixty = "Cheese" ;
} 
  else if (system == 2) {
  var zero = "sissy" ;
  var one = "sad" ;
  var two = "snowy" ;
  var three = "awesome" ;
  var four= "sorry" ;
  var five = "slow" ;
  var six = "swishy" ;
  var seven = "sick" ;
  var eight = "savvy" ; 
  var nine = "sappy" ;
  var ten = "dizzy" ;	
  var eleven = tight ;
  var twelve = "wooden" ;
  var thirteen = "tame" ;
  var fourteen = "dry" ;
  var fifteen = "tall" ;
  var sixteen = "whitish" ;
  var seventeen = "seventeen" ;
  var eighteen = "deaf" ;
  var nineteen = "deep" ;
  var twenty = "dry" ;
  var twentyone = "neat" ;
  var twentytwo = "neon" ;
  var twentythree = "numb" ;
  var twentyfour = "narrow" ;
  var twentyfive = "annual" ;
  var twentysix = "nudgy" ;
  var twentyseven = "naggy" ;
  var twentyeight = "naïve" ;
  var twentynine = "wannabe" ;
  var thirty = "thirty" ;
  var thirtyone = "thirtyone" ;
  var thirtytwo = "thirtytwo" ;
  var thirtythree = "thirtythree" ;
  var thirtyfour = "thirtyfour" ;
  var thirtyfive = "thirtyfive" ;
  var thirtysix = "thirtysix" ;
  var thirtyseven = "thirtyseven" ;
  var thirtyeight = "loop" ;
  var thirtynine = "thirtynine" ;
  var forty	 = "forty" ;
  var fortyone = "fortyone" ;
  var fortytwo = "poop" ;
  var fortythree = "fortythree" ;
  var fortyfour = "fortyfour" ;
  var fortyfive = "fortyfive" ;
  var fortysix = "fortysix" ;
  var fortyseven  = "fortyseven" ;
  var fortyeight = "fortyeight" ;
  var fortynine = "fortynine" ;
  var fifty = "fifty" ;
  var fiftyone = "fiftyone" ;
  var fiftytwo = "fiftytwo" ;
  var fiftythree = "fiftythree" ;
  var fiftyfour = "fiftyfour" ;
  var fiftyfive = "fiftyfive" ;
  var fiftysix = "fiftysix" ;
  var fiftyseven = "fiftyseven" ;
  var fiftyeight = "fiftyeight" ;
  var fiftynine = "fiftynine" ;
  var sixty = "sixty" ;
}
 
  //    hour converter
 if (hr == 0) {
  var thehour = zero;
  } else if (hr == 1) {
    thehour = one;
  } else if (hr == 2) {
    thehour = two;
  } else if (hr == 3) {
    thehour = three;
  } else if (hr == 4) {
    thehour = four;
  } else if (hr == 5) {
    thehour = five;
  } else if (hr == 6) {
    thehour = six;
  } else if (hr == 7) {
    thehour = seven;
  } else if (hr == 8) {
    thehour = eight;
  } else if (hr == 9) {
    thehour = nine;
  } else if (hr == 10) {
    thehour = ten;
  } else if (hr == 11) {
    thehour = eleven;
  } else if (hr == 12) {
    thehour = twelve;
  } else if (hr == 13) {
    thehour = thirteen;
  } else if (hr == 14) {
    thehour = fourteen;
  } else if (hr == 15) {
    thehour = fifteen;
  } else if (hr == 16) {
    thehour = sixteen;
  } else if (hr == 17) {
    thehour = seventeen;
  } else if (hr == 18) {
    thehour = eighteen;
  } else if (hr == 19) {
    thehour = nineteen;
  } else if (hr == 20) {
    thehour = twenty;
  } else if (hr == 21) {
    thehour = twentyone;
  } else if (hr == 22) {
    thehour = twentytwo;
  } else if (hr == 23) {
    thehour = twentythree;
  }

  //Minute converter
  if (mn == 0) {
  var themin = zero;
  } else if (mn == 1) {
    themin = one;
  } else if (mn == 2) {
    themin = two;
  } else if (mn == 3) {
    themin = three;
  } else if (mn == 4) {
    themin = four;
  } else if (mn == 5) {
    themin = five;
  } else if (mn == 6) {
    themin = six;
  } else if (mn == 7) {
    themin = seven;
  } else if (mn == 8) {
    themin = eight;
  } else if (mn == 9) {
    themin = nine;
  } else if (mn == 10) {
    themin = ten;
  } else if (mn == 11) {
    themin = eleven;
  } else if (mn == 12) {
    themin = twelve;
  } else if (mn == 13) {
    themin = thirteen;
  } else if (mn == 14) {
    themin = fourteen;
  } else if (mn == 15) {
    themin = fifteen;
  } else if (mn == 16) {
    themin = sixteen;
  } else if (mn == 17) {
    themin = seventeen;
  } else if (mn == 18) {
    themin = eighteen;
  } else if (mn == 19) {
    themin = nineteen;
  } else if (mn == 20) {
    themin = twenty;
  } else if (mn == 21) {
    themin = twentyone;
  } else if (mn == 22) {
    themin = twentytwo;
  } else if (mn == 23) {
    themin = twentythree;
  } else if (mn == 24) {
    themin = twentyfour;
  } else if (mn == 25) {
    themin = twentyfive;
  } else if (mn == 26) {
    themin = twentysix;
  } else if (mn == 27) {
    themin = twentyseven;
  } else if (mn == 28) {
    themin = twentyeight;
  } else if (mn == 29) {
    themin = twentynine;
  } else if (mn == 30) {
    themin = thirty;
  } else if (mn == 31) {
    themin = thirtyone;
  } else if (mn == 32) {
    themin = thirtytwo;
  } else if (mn == 33) {
    themin = thirtythree;
  } else if (mn == 34) {
    themin = thirtyfour;
  } else if (mn == 35) {
    themin = thirtyfive;
  } else if (mn == 36) {
    themin = thirtysix;
  } else if (mn == 37) {
    themin = thirtyseven;
  } else if (mn == 38) {
    themin = thirtyeight;
  } else if (mn == 39) {
    themin = thirtynine;
  } else if (mn == 40) {
    themin = forty;
  } else if (mn == 41) {
    themin = fortyone;
  } else if (mn == 42) {
    themin = fortytwo;
  } else if (mn == 43) {
    themin = fortythree;
  } else if (mn == 44) {
    themin = fortyfour;
  } else if (mn == 45) {
    themin = fortyfive;
  } else if (mn == 46) {
    themin = fortysix;
  } else if (mn == 47) {
    themin = fortyseven;
  } else if (mn == 48) {
    themin = fortyeight;
  } else if (mn == 49) {
    themin = fortynine;
  } else if (mn == 50) {
    themin = fifty;
  } else if (mn == 51) {
    themin = fiftyone;
  } else if (mn == 52) {
    themin = fiftytwo;
  } else if (mn == 53) {
    themin = fiftythree;
  } else if (mn == 54) {
    themin = fiftyfour;
  } else if (mn == 55) {
    themin = fiftyfive;
  } else if (mn == 56) {
    themin = fiftysix;
  } else if (mn == 57) {
    themin = fiftyseven;
  } else if (mn == 58) {
    themin = fiftyeight;
  } else if (mn == 59) {
    themin = fiftynine;
  } else if (mn == 60) {
    themin = sixty;
  }

  //seconds converter
  if (sc == 0) {
  var thesec = zero;
  } else if (sc == 1) {
    thesec = one;
  } else if (sc == 2) {
    thesec = two;
  } else if (sc == 3) {
    thesec = three;
  } else if (sc == 4) {
    thesec = four;
  } else if (sc == 5) {
    thesec = five;
  } else if (sc == 6) {
    thesec = six;
  } else if (sc == 7) {
    thesec = seven;
  } else if (sc == 8) {
    thesec = eight;
  } else if (sc == 9) {
    thesec = nine;
  } else if (sc == 10) {
    thesec = ten;
  } else if (sc == 11) {
    thesec = eleven;
  } else if (sc == 12) {
    thesec = twelve;
  } else if (sc == 13) {
    thesec = thirteen;
  } else if (sc == 14) {
    thesec = fourteen;
  } else if (sc == 15) {
    thesec = fifteen;
  } else if (sc == 16) {
    thesec = sixteen;
  } else if (sc == 17) {
    thesec = seventeen;
  } else if (sc == 18) {
    thesec = eighteen;
  } else if (sc == 19) {
    thesec = nineteen;
  } else if (sc == 20) {
    thesec = twenty;
  } else if (sc == 21) {
    thesec = twentyone;
  } else if (sc == 22) {
    thesec = twentytwo;
  } else if (sc == 23) {
    thesec = twentythree;
  } else if (sc == 24) {
    thesec = twentyfour;
  } else if (sc == 25) {
    thesec = twentyfive;
  } else if (sc == 26) {
    thesec = twentysix;
  } else if (sc == 27) {
    thesec = twentyseven;
  } else if (sc == 28) {
    thesec = twentyeight;
  } else if (sc == 29) {
    thesec = twentynine;
  } else if (sc == 30) {
    thesec = thirty;
  } else if (sc == 31) {
    thesec = thirtyone;
  } else if (sc == 32) {
    thesec = thirtytwo;
  } else if (sc == 33) {
    thesec = thirtythree;
  } else if (sc == 34) {
    thesec = thirtyfour;
  } else if (sc == 35) {
    thesec = thirtyfive;
  } else if (sc == 36) {
    thesec = thirtysix;
  } else if (sc == 37) {
    thesec = thirtyseven;
  } else if (sc == 38) {
    thesec = thirtyeight;
  } else if (sc == 39) {
    thesec = thirtynine;
  } else if (sc == 40) {
    thesec = forty;
  } else if (sc == 41) {
    thesec = fortyone;
  } else if (sc == 42) {
    thesec = fortytwo;
  } else if (sc == 43) {
    thesec = fortythree;
  } else if (sc == 44) {
    thesec = fortyfour;
  } else if (sc == 45) {
    thesec = fortyfive;
  } else if (sc == 46) {
    thesec = fortysix;
  } else if (sc == 47) {
    thesec = fortyseven;
  } else if (sc == 48) {
    thesec = fortyeight;
  } else if (sc == 49) {
    thesec = fortynine;
  } else if (sc == 50) {
    thesec = fifty;
  } else if (sc == 51) {
    thesec = fiftyone;
  } else if (sc == 52) {
    thesec = fiftytwo;
  } else if (sc == 53) {
    thesec = fiftythree;
  } else if (sc == 54) {
    thesec = fiftyfour;
  } else if (sc == 55) {
    thesec = fiftyfive;
  } else if (sc == 56) {
    thesec = fiftysix;
  } else if (sc == 57) {
    thesec = fiftyseven;
  } else if (sc == 58) {
    thesec = fiftyeight;
  } else if (sc == 59) {
    thesec = fiftynine;
  } else if (sc == 60) {
    thesec = sixty;
  }
      
  document.getElementById("hour").innerHTML = thehour;
  document.getElementById("min").innerHTML = themin;
  document.getElementById("sec").innerHTML = thesec;

  var watch = thehour + ":" + themin + ":" + thesec;
  document.forme.clock.value = watch;
  setTimeout("runTime()", 1000);
}
runTime();
 
              
            
!
999px

Console