CodePen

HTML

            
              <div class="parent">
  

</div>

            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              body {  
  background: #333;
  color: #f1f1f1;
}

.parent {
   width: 50%;
   margin: 1.5em 25%;
  
  input {
     margin: 0 0 0.5em 0; 
  }
}

            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              jQuery.ajax({
    url: 'localhost',
  success : function () {
    var input = $('<input>',{
      type : "text",
      class : 'address'
    });
    $('.parent').append(input);
  },
  complete : function () {              
    $('.address').on('focus', function () {
         $('.parent').append('<br />focused!');
    }).val('focus on me');
  }
});

            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................