Last active
December 29, 2015 16:19
-
-
Save mdread/7696828 to your computer and use it in GitHub Desktop.
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
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="style.css"></link> | |
</head> | |
<body> | |
just some random text... | |
<p> | |
<span id="block1"></span> | |
</p> | |
<p> | |
<span id="block2"></span> | |
</p> | |
<script type="text/javascript" src="script1.js"></script> | |
<script type="text/javascript" src="script2.js"></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
document.getElementById("block1").innerHTML = "hi from script1.js!" |
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
document.getElementById("block2").innerHTML = "hi from script2.js!" |
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
body { | |
background-color: #4183c4; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment