Skip to content

Instantly share code, notes, and snippets.

@vmnair
Created June 5, 2017 00:37
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 vmnair/e3db5612beeeb99c203dd034f8e76f97 to your computer and use it in GitHub Desktop.
Save vmnair/e3db5612beeeb99c203dd034f8e76f97 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/behofot
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
h2 {
color: red;
font-family: 'Arial';
}
h2:hover {
color: green;
}
</style>
</head>
<body>
<h2>Welcome to OMS India</h2>
<script id="jsbin-javascript">
// window.onload = function() {
// console.log('window.onload called');
// }
// document.onload = function() {
// console.log('document.onload called');
// }
// $(document).ready(function() {
// console.log('jQuery: elements loaded');
// console.log(this);
// });
</script>
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<h2>Welcome to OMS India</h2>
</body>
</script>
<script id="jsbin-source-css" type="text/css">h2 {
color: red;
font-family: 'Arial';
}
h2:hover {
color: green;
}</script>
<script id="jsbin-source-javascript" type="text/javascript">// window.onload = function() {
// console.log('window.onload called');
// }
// document.onload = function() {
// console.log('document.onload called');
// }
// $(document).ready(function() {
// console.log('jQuery: elements loaded');
// console.log(this);
// });
</script></body>
h2 {
color: red;
font-family: 'Arial';
}
h2:hover {
color: green;
}
// window.onload = function() {
// console.log('window.onload called');
// }
// document.onload = function() {
// console.log('document.onload called');
// }
// $(document).ready(function() {
// console.log('jQuery: elements loaded');
// console.log(this);
// });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment