Get started by changing "Hello World!" to "Hello {YOUR NAME}!"
Last active
May 9, 2020 02:36
-
-
Save ckxng/78f42da91f6c110342ec2e767006802e to your computer and use it in GitHub Desktop.
blockbuilder demo
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
license: mit | |
height: 150 |
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> | |
<p>You are a programmer! If you don't believe me, I'll prove it to you. Take a look at the code below, and make a small changes to it.</p> | |
<p>One of the first things any programmer learns to do, is how to say "Hello world!" Run this file and see how it works. Try replacing "world" with your own name.</p> | |
<script src="say-it-here.js"></script> | |
<script> | |
say("Hello world!"); | |
</script> |
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
document.write('<p id="say-output"></p>'); | |
function say(message) { | |
document.getElementById('say-output').innerHTML += `<p>${message}</p>`; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment