123

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

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.

            
              <SCRIPT LANGUAGE="JAVASCRIPT">
<!--

var r_text = new Array ();
r_text[0] = "Names of boys";
r_text[1] = "Names of girls";
r_text[2] = "Pet names";
r_text[3] = "Animals";
r_text[4] = "Animals in books or movies";
r_text[5] = "Appliances";
r_text[6] = "Authors";
r_text[7] = "Awards/Ceremonies";
r_text[8] = "Baby foods";
r_text[9] = "Bad habits";
r_text[10] = "Birds";
r_text[11] = "Board games";
r_text[12] = "Bodies of water";
r_text[13] = "Breakfast foods";
r_text[14] = "Capital cities";
r_text[15] = "Card games";
r_text[16] = "Cartoon characters";
r_text[17] = "Cars";
r_text[18] = "Celebrities";
r_text[19] = "Children's books";
r_text[20] = "Christmas songs";
  r_text[21] = "Cities";
r_text[22] = "Clothing";
r_text[23] = "Colours";
r_text[24] = "Computer games";
r_text[25] = "Cooking utensils";
r_text[26] = "Cosmetics and toiletries";
r_text[27] = "Countries";
r_text[28] = "Crimes";
r_text[29] = "Diseases";
r_text[30] = "Drinks";
r_text[31] = "Electronic gadgets";
r_text[32] = "Excuses for being late";
r_text[33] = "Famous duos and trios";
r_text[34] = "Fears";
r_text[35] = "Fictional characters";
r_text[36] = "Fish";
r_text[37] = "Flowers";
r_text[38] = "Food or drink that is green";
r_text[39] = "Foods";
r_text[40] = "Foods you eat raw";
  r_text[41] = "Footwear";
r_text[42] = "Foreign words used in English";
r_text[43] = "Fruit";
r_text[44] = "Games";
r_text[45] = "Gifts";
r_text[46] = "Halloween Costumes";
r_text[47] = "Heroes";
r_text[48] = "Historic events";
r_text[49] = "Historical figures";
r_text[50] = "Hobbies";
  r_text[51] = "Holiday activities";
r_text[52] = "Household chores";
r_text[53] = "Icecream flavours";
r_text[54] = "Insects";
r_text[55] = "Items in a kitchen";
r_text[56] = "Items in a vending machine";
r_text[57] = "Items in this room";
r_text[58] = "Items you save up to buy";
r_text[59] = "Items you take on a road trip";
r_text[60] = "Kinds of soup";
  
var a = Math.floor(r_text.length * Math.random());
var b = Math.floor(r_text.length * Math.random());
  var c = Math.floor(r_text.length * Math.random());
var d = Math.floor(r_text.length * Math.random());
  var e = Math.floor(r_text.length * Math.random());
var f = Math.floor(r_text.length * Math.random());
  var g = Math.floor(r_text.length * Math.random());
var h = Math.floor(r_text.length * Math.random());
var i = Math.floor(r_text.length * Math.random());
var j = Math.floor(r_text.length * Math.random());
  
  
document.write("<br /><left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[a]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[b]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[c]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[d]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[e]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[f]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[g]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[h]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[i]  + "</FONT></left><br />");
  document.write("<left><FONT SIZE=6><FONT COLOR='#FFFFFF'>" +
r_text[j]  + "</FONT></left><br />");
  
var bgcolorlist=new Array("#228B22", "#FFD700", "#ADFF2F", "#FF69B4", "#CD5C5C", "#4B0082", "#7CFC00", "#ADD8E6", "#E84643", "#ED0A07", "#EA2907", "#E5294B", "#E00D26", "#FF3030", "#FC7500", "#F95700", "#F43900", "#F95620")

document.body.style.background=bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)];

</script><br>
    <style type="text/css">
<!--
body,td,th {
     color: #000;
     font-family: Helvetica, sans-serif;
</html>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console