Last active
January 30, 2018 08:08
-
-
Save chathurangat/1ace6e302fdd6ddd7c42e58ea7cc0ef4 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<p id="welcome-text"></p> | |
<p id="calculator-text"></p> | |
</body> | |
<script src="main.js"></script> | |
<script type="text/javascript"> | |
//we can invoke "getWelcomeMessage" here because it has already been assigned to "window" object | |
var message = getWelcomeMessage("www.springbootdev.com"); | |
console.log("printed on index.html [" + message + "]"); | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment