ryoakg
10/14/2017 - 11:09 PM

JS Bin gist test // source https://jsbin.com/maxeqaz

JS Bin gist test

// source https://jsbin.com/maxeqaz

function f(){
  alert('foo!');
}
.button{
  background: #6a4;
  color: white;
}
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin gist test</title>
<style id="jsbin-css">
.button{
  background: #6a4;
  color: white;
}
</style>
</head>
<body>
  <button class="button" onclick='f()'>!</button>
<script id="jsbin-javascript">
function f(){
  alert('foo!');
}
</script>


<script id="jsbin-source-css" type="text/css">.button{
  background: #6a4;
  color: white;
}</script>

<script id="jsbin-source-javascript" type="text/javascript">function f(){
  alert('foo!');
}</script></body>
</html>