Skip to content

Instantly share code, notes, and snippets.

@rgchris
Created June 1, 2019 11:42
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 rgchris/12250b6979591fdbe936d228f6200bb7 to your computer and use it in GitHub Desktop.
Save rgchris/12250b6979591fdbe936d228f6200bb7 to your computer and use it in GitHub Desktop.
Rebol Says...
<!DOCTYPE html>
<html>
<head>
<title>Rebol says Hello</title>
<link rel="shortcut icon" href="http://rebol.info/assets/rebolbot.png">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<!-- %load-r3.js looks for all "text/rebol" <script> tags and runs them -->
<script src="https://metaeducation.s3.amazonaws.com/travis-builds/load-r3.js"></script>
</head>
<body>
<div class="container">
<h1>Rebol Says:</h1>
<pre id="rebolsayshello"></pre>
</div>
<script type="text/rebol">
js-do/local {document.getElementById('rebolsayshello').innerHTML = 'Hello!';}
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment