Fix image example

This commit is contained in:
Jan Nicklas 2015-05-18 19:05:18 +02:00 committed by Jan Nicklas
parent ed8e4b290f
commit faf4e764d4
1 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
require('./main.css');
document.body.innerHTML = 'Hello world!';
var h1 = document.createElement('h1');
h1.innerHTML = 'Hello world!';
document.body.appendChild(h1);