Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<link href="https://fonts.googleapis.com/css?family=Economica|Kosugi+Maru&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<br><br><br><br><br><br>
   <center><button style="height:70px;width:150px" onclick="copyToClipboard('#p1')">Hello</button><br>
<br><br><br><br><br>
 <p style="font-size:0px" id="p1">Hello<br> World</p>
    <textarea cols="80" rows="25"></textarea>
</form>
 
body {
              background-color:#2F4F4F;
font-family: 'Economica', sans-serif;
      }
p
{
  color:#000000;
  font-size:20px;
}
.textBox
{
  height:30px;
  width:300px;
}
button
{
  height:30px;
  width:150px;
  border-radius:8px;
  padding:10px;
  font-size:22px;
font-family: 'Economica', sans-serif;
  height:52px;
  cursor:pointer;
  background-color:#DCDCDC;
}
 
function copyToClipboard(element) {
  var $temp = $("<input>");
  $("body").append($temp);
  $temp.val($(element).text()).select();
  document.execCommand("copy");
  $temp.remove();
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers