Last active
August 17, 2020 17:35
-
-
Save libewa/67f7d70546c7eb9c03e0524baad162e6 to your computer and use it in GitHub Desktop.
A Hello World file with a little bit JavaScript
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" /> | |
<title>Hello World</title> | |
</head> | |
<body> | |
<h1>Infos</h1> | |
<form method="get"> | |
<input type="textfield" name="name"> | |
</form> | |
Hello <span id="nph">User</span>, welcome to my first gist. | |
<script> | |
document.getElementById("nph").innerHTML = name | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment