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 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 lang="en">

<head>
  <meta charset="UTF-8" />
  <link href='https://luengo-font.s3.amazonaws.com/fonts.css' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" href="style.css">
  <title>Card Unique ID Test</title>
</head>

<body>
  <div class='card noselect'>
  <h1 id="cardButtonText">Push buttons to test.</h1>
  </div>
</body>

<script src="card.js"></script>

</html>
            
          
!
            
              * {
  box-sizing: border-box;
}
.card {
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 1400px;
  width: 800px;
  border-style: solid;
  border-width: 10px;
  border-color: white;
  border-radius: 50px;
  background-color: grey;
}
body {
  background-color: transparent;
  font-family: 'Luengo-Bold', sans-serif;
}
h1 {
  font-size: 56pt;
  color: white;
  padding-top: 600px;
  text-align: center;
  padding-left: 50px;
  padding-right: 50px;
}
h2 {
	font-size: 40pt;
	color: white;
	text-align: center;
	padding-top: 16px;
}
.noselect {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Chrome/Safari/Opera */
  -khtml-user-select: none;
  /* Konqueror */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE/Edge */
  user-select: none;
  /* non-prefixed version, currently
                                  not supported by any browser */
}
            
          
!
            
              var function0 = {name: "Test 1", call: "Test1"};
var function1 = {name: "Test 2", call: "Test2"};
var function2 = {name: "Test 3", call: "Test3"};
var function3 = {name: "Test 4", call: "Test4"};
var function4 = {name: "Test 5", call: "Test5"};
var function5 = {name: "Test 6", call: "Test6"};
var function6 = {name: "Test 7", call: "Test7"};
var function7 = {name: "Test 8", call: "Test8"};

function HolosInit()
{
	HolosBindQuickButtons(function0, function1, function2, function3, function4, function5, function6, function7);
}

function Test1() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 1 Fired!";
}

function Test2() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 2 Fired!";
}

function Test3() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 3 Fired!";
}

function Test4() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 4 Fired!";
}

function Test5() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 5 Fired!";
}

function Test6() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 6 Fired!";
}

function Test7() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 7 Fired!";
}

function Test8() 
{
	document.getElementById("cardButtonText").innerHTML = "Test 8 Fired!";
}
            
          
!
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.
Loading ..................

Console