Skip to content

Instantly share code, notes, and snippets.

@badal897
Created July 11, 2017 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badal897/51a38dfbc9836c9401c3ee39d64d4d02 to your computer and use it in GitHub Desktop.
Save badal897/51a38dfbc9836c9401c3ee39d64d4d02 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
button {
color: red;
}
</style>
</head>
<body>
<br>
<button onclick="doSomething();">
Click Me
</button>
<script id="jsbin-javascript">
function doSomething(){
alert("Hi there");
}
</script>
<script id="jsbin-source-css" type="text/css">button {
color: red;
}
</script>
<script id="jsbin-source-javascript" type="text/javascript">function doSomething(){
alert("Hi there");
}</script></body>
</html>
button {
color: red;
}
function doSomething(){
alert("Hi there");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment