Created
February 22, 2020 11:06
-
-
Save mukeshdak/482974d4722312f2d4eb4d4ccbd04545 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/bobufaz
This file contains hidden or 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"> | |
#result { | |
padding:20px; | |
font-size: 1.5em; | |
margin:20px; | |
background-color: bisque; | |
width:400px; | |
height: 50px; | |
} | |
button{ | |
font-size: 2em; | |
} | |
</style> | |
</head> | |
<body> | |
Here is my action and | |
<button onmouseover="fun1();" onmouseout="fun2();">Press me</button> | |
<br> | |
<br> | |
<br> | |
Below is my result. | |
<div id="result"> | |
jade dak | |
</div> | |
<script id="jsbin-javascript"> | |
function fun1(){ | |
document.getElementById("result").innerHTML="mouse hatao"; | |
} | |
function fun2(){ | |
document.getElementById("result").innerHTML="mouse lao"; | |
} | |
</script> | |
<script id="jsbin-source-css" type="text/css">#result { | |
padding:20px; | |
font-size: 1.5em; | |
margin:20px; | |
background-color: bisque; | |
width:400px; | |
height: 50px; | |
} | |
button{ | |
font-size: 2em; | |
}</script> | |
<script id="jsbin-source-javascript" type="text/javascript">function fun1(){ | |
document.getElementById("result").innerHTML="mouse hatao"; | |
} | |
function fun2(){ | |
document.getElementById("result").innerHTML="mouse lao"; | |
}</script></body> | |
</html> |
This file contains hidden or 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
#result { | |
padding:20px; | |
font-size: 1.5em; | |
margin:20px; | |
background-color: bisque; | |
width:400px; | |
height: 50px; | |
} | |
button{ | |
font-size: 2em; | |
} |
This file contains hidden or 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 fun1(){ | |
document.getElementById("result").innerHTML="mouse hatao"; | |
} | |
function fun2(){ | |
document.getElementById("result").innerHTML="mouse lao"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment