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 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

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.

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

              
                
  <head>
    <meta content="text/html; charset=UTF-8; X-Content-Type-Options=nosniff" http-equiv="Content-Type" />
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Recieve link | Interclip</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
    <link href="https://codepen.io/filip_tronicek/pen/qeRoxV.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="style.css">
  </head>

  <body>

    
    <div class="wrapper">
    <div class="form-container">
      <input type="radio" name="project-ws" id="page1" checked>
      <form id="inputform" name="form" onsubmit="return validateForm()" action="">

        <div class="full-screen">
          
          <div class="input-wrap">
          <p class="title">Recieve link</p>
          <input type="text" name="code" maxlength="5" id="code" placeholder="h&amp;$h">
            <br>

            <br>

            <br>
              <a onClick="submit()" data-title="Make the magic happen"></a>
              <div id="result"></div>
                <div id="modalpage">



      </div>
        </div>

          </div>




  
      </form>
  
      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://codepen.io/electerious/pen/rroqdL"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://codepen.io/electerious/pen/rroqdL"></script>
<script type="text/javascript" src="script.js"></script>
    </div>

    </div>

  </body>

              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
html, body {
  width: 100%;
  height: 100%;
  
}

.wrapper {
  font-size: 36px;
  font-weight: bold;
  
}



p {
  color: #fff;
}

input[type="text"] {
  border: none;
  border-bottom: 1px solid #555;
  width: 200px;
  font-size: 36px;
  background-color: #3b3f45;
}

.input-wrap{
  width: 500px;
  margin: 180px auto;
}


.form-container {
  position: relative;
 }
 
 .full-screen {
   width: 100%;
   height: 1000px;
   padding: 20px;
   background-color: #3b3f45;
   transition: display 0.5s;
   border: 1px solid black;
 }
 
 .full-screen {
   position: absolute;
   display: none;
 }
 
button {
  border: 1px solid #000;
  border-radius: 30px;
  text-align: center;
  padding: 10px 20px;
  margin-top: 50px;
  width: 100px;
  font-size: 16px;
  position: absolute;

  font-size: 24px;
}

 .form-container input:checked:nth-of-type(1) ~ #inputform .full-screen:nth-of-type(1),
 .form-container input:checked:nth-of-type(2) ~ #inputform .full-screen:nth-of-type(2),
 .form-container input:checked:nth-of-type(3) ~ #inputform .full-screen:nth-of-type(3),
 .form-container input:checked:nth-of-type(4) ~ #inputform .full-screen:nth-of-type(4),
 .form-container input:checked:nth-of-type(5) ~ #inputform .full-screen:nth-of-type(5),
 .form-container input:checked:nth-of-type(6) ~ #inputform .full-screen:nth-of-type(6) {
   display: block;
 }

 .form-container input:checked:nth-of-type(1) ~ #inputform .full-screen:nth-of-type(1) .continue,
 .form-container input:checked:nth-of-type(2) ~ #inputform .full-screen:nth-of-type(2) .continue,
 .form-container input:checked:nth-of-type(3) ~ #inputform .full-screen:nth-of-type(3) .continue,
 .form-container input:checked:nth-of-type(4) ~ #inputform .full-screen:nth-of-type(4) .continue,
 .form-container input:checked:nth-of-type(5) ~ #inputform .full-screen:nth-of-type(5) .continue,
 .form-container input:checked:nth-of-type(6) ~ #inputform .full-screen:nth-of-type(6) .continue {
   display: block;
 }


 .form-container input:checked:nth-of-type(1) ~ .indicator label:nth-of-type(1),
 .form-container input:checked:nth-of-type(2) ~ .indicator label:nth-of-type(2),
 .form-container input:checked:nth-of-type(3) ~ .indicator label:nth-of-type(3),
 .form-container input:checked:nth-of-type(4) ~ .indicator label:nth-of-type(4),
 .form-container input:checked:nth-of-type(5) ~ .indicator label:nth-of-type(5),
 .form-container input:checked:nth-of-type(6) ~ .indicator label:nth-of-type(6) {
    color: pink;
 }

 .form-container input:checked:nth-of-type(7) ~ #inputform .full-screen,
 .form-container input:checked:nth-of-type(7) + #inputform button {
   display: block;
 }


.form-container input:checked:nth-of-type(7) ~ #inputform .full-screen {
  width: 960px;
  height: 200px;
  background-color: #fffed8;
  position: static;
  margin: 20px 0;
  border: none;
  color: #000;
}

.form-container input:checked:nth-of-type(7) ~ #inputform .full-screen p {

  color: #000;
}

.form-container input:checked:nth-of-type(7) ~ #inputform .full-screen .input-wrap {
  margin: 10px auto;
}


.form-container input:checked:nth-of-type(7) ~ .indicator {
  display: none;
}
 


.color {
  display: none;
  width: 100px;
  height: 100px;
  margin: 10px;
  border: 1px solid #000;
  
}



.color-container span {
  margin-left: 10px;
}



.color-container input:checked + label .color {
  display: block;
}



.color-container {/*
  border: 1px solid #000;*/
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;/*
  width: 100px;
  height: 100px;*/
  
}



.color-choice input:checked ~ .color-container {
  width: 500px;
  height: 600px;

}

.color-choice input:checked ~ .color-container .color {
  display: block;
}


.indicator {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 200px;
  right: 50px;
  font-size: 16px;
  
}

.color-wrap {
   border: 2px solid #000;
  width: 100px;
  height: 100px;
  padding: 5px;
  background-color: gray;
  color: #fff;
  
}



.priority {
  border: 1px solid black;
  height: 500px;
  padding: 10px;
  overflow: hidden;
}
input[type="radio"] {
  display: none;
}
html, body {margin: 0; height: 100%; overflow: hidden}
body {
  font-family: "Roboto";
}
a {
  font-size: 18px;
}
input {
  color: white;
}
              
            
!

JS

              
                
function placeHolder() {
	  var hash = Math.random().toString(36).substr(2, 5);

if($("#code").attr("placeholder", hash)) {
	console.log("Placed holder")
} else {
	console.log("fuck me")
}
}
function printOutText(text) {
	$("#result").text = text;
}

function submit() {
	console.log("submit");
	$("#inputform").submit();
}
 setInterval(function(){ placeHolder() }, 500);

              
            
!
999px

Console