Last active
July 10, 2021 08:59
-
-
Save amark/067e80f8f247246de18815e9f8be2f42 to your computer and use it in GitHub Desktop.
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> | |
</head> | |
<body> | |
<div id="a">a</div> | |
<div id="b">b</div> | |
<div id="c">c</div> | |
<div id="d">d</div>3 | |
<input id='z' value="no"> | |
<script type="text/javascript"> | |
document.getElementById('z').value = 'yes2'; | |
function lol(){ | |
document.getElementById('a').innerHTML = 'hi'; | |
Object.for = "wow"; | |
document.getElementById('b').innerHTML = Object.for; | |
}; | |
lol(); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment