CodePen

HTML

            
              <!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>
$(document).ready(function(){
  // Define the variable here and it will be available to use - google "variable scope"
  var sText = $.fn.Blach();
  $("p").html(sText);
});
</script>
</head>

<body>
<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>

            
          
!

↑ Insert the most common viewport meta tag

CSS

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

JS

            
              (function($)
 {
  $.fn.Blach = function()
  {
    // Instead of setting the sText variable in this  function, simply return the text
    return "This is text";
	};
})(jQuery);
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................