css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              <form method="" action="" class="block_position">
  <div class="block_wrapper">
    <label class="field_item">
    <input class="input_login" type="text" name="Login" placeholder="Login" required>
      <p class="about_item">Login</p>
      <p class="about_item">Login</p>
      <div class="svg_icons">
        <svg class="icon_agree hidden"><use xlink:href="#icon_argee"></use></svg>
        <svg class="icon_disagree hidden"><use xlink:href="#icon_disagree"></use></svg>
      </div>
      <div class="placeForComments"></div>
     </label>
    <label class="field_item">
    <input class="input_password" type="password" name="Password" placeholder="Password" required>
      <p class="about_item">Password</p>
      <p class="about_item">Password</p>
      <div class="svg_icons">
        <svg class="icon_agree hidden"><use xlink:href="#icon_argee"></use></svg>
        <svg class="icon_disagree hidden"><use xlink:href="#icon_disagree"></use></svg>
      </div>
      <div class="placeForComments"></div>
    </label>
    <label class="field_item">
      <input class="input_confirmPassword" type="password" name="Confirm password" placeholder="Confirm password" required>
      <p class="about_item">Password</p>
      <p class="about_item">Password</p>
      <div class="svg_icons">
        <svg class="icon_agree hidden"><use xlink:href="#icon_argee"></use></svg>
        <svg class="icon_disagree hidden"><use xlink:href="#icon_disagree"></use></svg>
      </div>
      <div class="placeForComments"></div>
    </label>
    <label class="field_item">
      <input class="input_email" type="email" name="Email" placeholder="Email" required>
      <p class="about_item">Email</p>
      <p class="about_item">Email</p>
      <div class="svg_icons">
        <svg class="icon_agree hidden"><use xlink:href="#icon_argee"></use></svg>
        <svg class="icon_disagree hidden"><use xlink:href="#icon_disagree"></use></svg>
      </div>
      <div class="placeForComments"></div>
    </label>

    <button type="submit" class="btn_submit">Register</button>
  </div>
</form>

<div class="aboutMe">
  <a href="https://codepen.io/BlackStar1991/pens/public/" target="_new">
    <div class="fa fa-codepen"> my other Pens </div>
  </a>
</div>


<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  
  <symbol id="icon_argee" x="0px" y="0px" viewBox="0 0 20 20" xml:space="preserve">
   <path class="path agree_line1" d="M8.7,19 18.6,2.1"/>
   <path class="path agree_line2" d="M8.7,19 3.1,10.3"/>
  </symbol>
  
  <symbol id="icon_disagree" x="0px" y="0px" viewBox="0 0 20 20" xml:space="preserve">
<g id="wheel">
	<path id="wheelPart1" class="wheelClass" d="M12.5,17.3c-0.9,0.9-2.4,1.7-3.7,1.7s-2.5-0.5-3.4-1.4s-1.4-2-1.4-3.4c0-1.1,0.4-2.1,0.9-2.8
		"/>
	<path id="wheelPart2" class="wheelClass" d="M5.5,10.9c0.2-0.2,0.3-0.3,0.5-0.5c0.8-0.6,1.8-0.9,2.8-0.9c1.3,0,2.5,0.5,3.4,1.4
		s1.4,2,1.4,3.4c0,0.5-0.1,0.9-0.2,1.3c-0.1,0.4-0.3,0.8-0.5,1.1"/>
</g>
<g id="head">
	<circle cx="15.6" cy="3.2" r="2" fill="#f00"/>
</g>
<g id="arm">
	<path fill="#f00" d="M9.6,4.8L11.7,6C11.9,6.1,12,6,12.1,5.9l0.8-0.8c0.3-0.3,0.3-0.7,0-0.9l-2.6-1.6C9.1,2,8.8,2.2,8.3,2.8l-2.2,2
		C5.8,5.1,5.5,5.9,6.1,6.4c0.2,0.1,0.8,0.4,1,0.2c0.6-0.4,2-1.7,2-1.7C9.3,4.7,9.5,4.7,9.6,4.8z"/>
</g>
<g id="body">
	<path fill="#f00" d="M7.4,9.5l5-5.4c0.1-0.1,0.1-0.1,0.2,0c0,0,2.4,1.5,2.5,1.5c0.6,0.5,0.1,1.3-0.1,1.6l-2,2.2c-0.1,0.1,0,0.2,0.1,0.2l3.9-0.1
		c0,0,0.3,0,0.6,0.2c0.3,0.3,0.3,0.7,0.3,0.7s-0.5,5.8-0.5,5.8c-0.1,1.1-1.8,1.6-2.1,0.1c0-0.1,0.1-4.5,0.1-4.5
		c0-0.1-0.1-0.1-0.1-0.1c-0.4,0-1.7,0-1.7,0.1c0,0.1-3.5-2-3.9-2.2c0,0,0,0-0.1,0L7.4,9.5z"/>
</g>
</symbol>
  
  
</svg>
            
          
!
            
              $hue: 200;
$light: hsl($hue - 40, 90%, 85%);
$base: hsl($hue - 20, 10%, 70%);
$mid: hsl($hue + 20, 40%, 30%);
$dark: hsl($hue + 40, 100%, 10%);
$timeAction: 0.3s;
$blockWidth: 320px;
$textColor: $mid;

body {
  height: 100vh;
  width: 100vw;
  // background: linear-gradient(lighten($base, 8%), darken($base, 8%));
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAAAAABcFtGpAAAkyklEQVR4AZSae3O6PBCF+f6fTTBcBOwF+LW1FW2rgigq8LxTyGsp9JJkpv7R2RDNOfvsrqNhWfMtsAqhcQ5MK2hfzIb2pf1r/wtUU2jM7o/0BijFGZJ7gPqf89YgV/Pm/KshWQJPD/AWggw8zr3lsW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JbL7d8N8HLfZ5s8XuPhnxocyHlnXyPaDc+V98rc8HZ/I3fhsli10q2okfLurAh42fP3a92+L8oHfbG73PzJhSfmFzXYVTf35HV/VJA3WSMOfdbO46EUR8l6XM624H0Disi8GNgCYNKPFD0ctK4BPwuMcuFoW2d7sDWzmrYSmejPZfWGCocDUS2bwxaWBPEv743KYZM/6Ko0o+NJwcBJY7YxMzs24JFZW926hymSEOLzPEwWWG+sKKl3zEAqYS4P4LM1Q49fUbJg0sdC32/0KhPRHc1PLh39tQsy4Ec+eAG/LBWfkbV6noqtm7TaZl75bz7TVZonq3a/cX9mGscOrrV5MGgG2a1xNEmM51+XCesloiGaK5UxJwtfng7KOaioxEtaf396d671ZhSO9JAwqI5Og2FS+DwS5BhOzmpTDtVvGSMVGuC3pp/hiG7typCLi1fKCfNECh+ETAFxbYKlwFiODbpFrsXTQfSm8PwtrJcBMBkwYIFJ+3jvsLc1U4BUR87IfwfNj/gNYqAu59pKHc/A9NY+DEQgkbuwAAAABJRU5ErkJggg==");
  font-size: 16px;
  font-family: "Germania One", cursive;
}
p {
  text-align: center;
  margin: 0;
  padding: 0;
}
input {
  position: relative;
  display: block;
  width: $blockWidth;
  text-align: center;
  margin: 40px 0;
  padding: 10px 0;
  z-index: 3;
  &::placeholder {
    color: $textColor;
    font-family: "Germania One", cursive;
  }
  &:focus {
    &::placeholder {
      opacity: 0;
      transition: all, $timeAction;
    }
    + .about_item {
      top: 45px;
      transition: all, $timeAction;
    }
    + .about_item + .about_item {
      top: -20px;
      transition: all, $timeAction;
    }
  }
}

.field_item,
.block_wrapper {
  display: block;
  position: relative;
  width: 100%;
}

.block_position {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 10px;
  transform: translate(-50%, -50%);
  border: 1px solid #666;
  border-radius: 8px;
  max-width: $blockWidth;
  background-color: #fff;
}

.about_item {
  position: absolute;
  top: 25%;
  left: 150%;

  width: $blockWidth;
  color: $textColor;
  z-index: 2;

  &:nth-of-type(even) {
    left: -35%;

    &:before {
      content: "\f0a7";
      padding-right: 10px;
      font-family: FontAwesome;
      color: inherit;
    }
  }

  &:nth-of-type(odd) {
    left: 35%;
    &:after {
      content: "\f0a6";
      padding-left: 10px;
      font-family: FontAwesome;
      color: inherit;
    }
  }
}

.btn_submit {
  display: block;
  padding: 10px;
  margin: 10px auto;
  border-radius: 10px;
  font-family: "Germania One", cursive;
  color: $textColor;
  background: $base;
  box-shadow: inset -0.05rem -0.05rem 0.08rem rgba($dark, 0.6),
    inset 0.05rem 0.05rem 0.1rem rgba($light, 1),
    0.5rem 0.5rem 2rem rgba($dark, 0.5), 0.1rem 0.1rem 0.2rem rgba($dark, 0.75);
  outline: none;
  cursor: pointer;
  &:hover {
    color: #186af3;
  }
}

.placeForComments {
  display: inline-block;
  position: absolute;
  left: 25px;
  bottom: -20px;
}
.text_error {
  color: tomato;
}

.text_confirmed {
  color: green;
}

.error_effect {
  animation: shake 1s both;
}

#icon_argee {
  width: 20px;
  height: 20px;
}
.path {
  fill: none;
  stroke: #22af4b;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke-linecap: round;
}
.wheelClass {
  fill: none;
  stroke: #f00;
  stroke-width: 2;
  stroke-miterlimit: 10;
}

#icon_disagree{
  width: 20px;
  height: 20px;
}
#wheel{
  animation: rotateWheel 2s ease-in-out infinite;
}
#arm{
  animation: rotateArm 1s ease-in-out infinite alternate;
}

.agree_line1 {
  stroke-dasharray: 19.586;
  stroke-dashoffset: 19.586;
  animation: dashLine 2s linear 4s infinite;
  animation-fill-mode: forwards;
}
.agree_line2 {
  stroke-dasharray: 10.346;
  stroke-dashoffset: 10.346;
  animation: dashLine 2s linear 4s infinite;
  animation-fill-mode: forwards;
}

@keyframes dashLine {
  
  20%, 100% {
    stroke-dashoffset: 0;
  }
}

@keyframes shake {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }
  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

@keyframes rotateWheel{
  0%{
    transform:rotate(0deg);
    transform-origin: 50% 50%;
  }
 100%{
    transform:rotate(360deg);
    transform-origin: 50% 50%;
  }
}

@keyframes rotateArm{
  0%{
    transform:rotate(0deg);
    transform-origin: 100% 50%;
  }
  100%{
    transform:rotate(-180deg);
    transform-origin: 100% 50%;
  }
}


.svg_icons {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 4;
}

.hidden {
  display: none;
}

.icon_agree,
.icon_disagree{
  width: 20px;
  height: 20px;
}

.aboutMe a {
  display: block;
  width: 30%;
  position: fixed;
  bottom: 0.1%;
  left: 20px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 1.5em;
  font-family: "Roboto", sans-serif;
  text-decoration: none;
}

            
          
!
            
              window.onload = function() {
  var loginInput = document.querySelector(".input_login"),
      passwordInput = document.querySelector(".input_password"),
      confirmPasswordInput = document.querySelector(".input_confirmPassword"),
      emailInput = document.querySelector(".input_email"),
      allInpute = document.querySelectorAll("input"),
      buttonSubmit = document.querySelector(".btn_submit");

  function isValidEmailAddress(emailAddress) {
    var pattern = new RegExp(
      /^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i
    );
    return pattern.test(emailAddress);
  }

 
  function confirmedMessage(fieldForMessage, iconForMessage) {
    fieldForMessage.classList.remove("text_error");
    fieldForMessage.classList.add("text_confirmed");
    
    iconForMessage.parentNode.querySelector(".icon_disagree").classList.add("hidden");
    iconForMessage.parentNode.querySelector(".icon_agree").classList.remove("hidden");
    
    fieldForMessage.textContent = "Confirmed";
  }

  function errorMessage(fieldForMessage, iconForMessage) {
    fieldForMessage.classList.remove("text_confirmed");
    fieldForMessage.classList.add("text_error");
    
    iconForMessage.parentNode.querySelector(".icon_agree").classList.add("hidden");
    iconForMessage.parentNode.querySelector(".icon_disagree").classList.remove("hidden");
    
    fieldForMessage.textContent = errorText;
  }

  function addErrorEffect(element) {
    element.classList.add("error_effect");
    setTimeout(function() {
      element.classList.remove("error_effect");
    }, 1500);
  }

  loginInput.onblur = function() {
    var textForComment = this.parentNode.querySelector(".placeForComments");
    var icon = this.parentNode.querySelector(".svg_icons");
    
    if (this.value == "nickname") {
      // Checking in the database
      errorText = "Choose another login, it's already taken";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (this.value.length == 0) {
      errorText = "You must create your personal username";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (this.value.length < 5) {
      errorText = "Very short login";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (this.value.length >= 64) {
      errorText = "Very long login";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else {
      confirmedMessage(textForComment, icon);
    }
  };

  passwordInput.onblur = function() {
    var textForComment = this.parentNode.querySelector(".placeForComments");
    var icon = this.parentNode.querySelector(".svg_icons");
    
    if (this.value.length == 0) {
      errorText = "Please enter your password";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (this.value.length < 5) {
      errorText = "Very short password";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (!this.value.match(/[a-z]/g)) {
      errorText = "At least 1 lowercase letter is required";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (!this.value.match(/[A-Z]/g)) {
      errorText = "At least 1 uppercase letter is required";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else {
      confirmedMessage(textForComment, icon);
    }
  };

  confirmPasswordInput.onblur = function() {
    var textForComment = this.parentNode.querySelector(".placeForComments");
    var icon = this.parentNode.querySelector(".svg_icons");
    
    if (this.value.length == 0) {
      errorText = "Please confirm your password";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (this.value !== passwordInput.value) {
      errorText = "Passwords do not match";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else {
      confirmedMessage(textForComment, icon);
    }
  };

  emailInput.onblur = function() {
    var textForComment = this.parentNode.querySelector(".placeForComments");
    var icon = this.parentNode.querySelector(".svg_icons");
    
    if (this.value.length == 0) {
      errorText = "Please write your email";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else if (isValidEmailAddress(this.value) == false) {
      errorText = "It's not email, change this shit";
      errorMessage(textForComment, icon);
      addErrorEffect(this);
    } else {
      confirmedMessage(textForComment, icon);
    }
  };
  
 buttonSubmit.addEventListener("click", function(event) {
    if ( (allInpute.length == document.querySelectorAll(".text_confirmed").length)&&(document.querySelectorAll("input").checkValidity() == true) ){
      buttonSubmit.submit();    
    }else{
      //alert("The form isn't filled correctly");
      event.preventDefault();
    }
  });
  
  
  
  
};

            
          
!
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