Skip to content

Instantly share code, notes, and snippets.

@ckxng
Last active May 9, 2020 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckxng/78f42da91f6c110342ec2e767006802e to your computer and use it in GitHub Desktop.
Save ckxng/78f42da91f6c110342ec2e767006802e to your computer and use it in GitHub Desktop.
blockbuilder demo
license: mit
height: 150

Instructions

Get started by changing "Hello World!" to "Hello {YOUR NAME}!"

<!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>
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