Created
July 11, 2017 08:56
-
-
Save badal897/51a38dfbc9836c9401c3ee39d64d4d02 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
button { | |
color: red; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function doSomething(){ | |
alert("Hi there"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment