docs: intro: valid HTML snippet (#1574)

Declaring scripts after the closing body tag looks like a typo
This commit is contained in:
Barney Carroll 2017-01-31 18:04:26 +00:00 committed by Pat Cavit
parent dba5ee7d98
commit c8ed22fb08

View file

@ -53,13 +53,14 @@ The easiest way to try out Mithril is to include it from a CDN, and follow this
Let's create an HTML file to follow along:
```markup
<body></body>
<script src="http://unpkg.com/mithril/mithril.js"></script>
<script>
var root = document.body
<body>
<script src="http://unpkg.com/mithril/mithril.js"></script>
<script>
var root = document.body
// your code goes here!
</script>
// your code goes here!
</script>
</body>
```
---