Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.