Closed hasan3ysf closed 9 years ago
Hi Peter,
I added this line to your fiddle, hoping to see the output, but nothing seen, how to make it:
document.querySelector('#output').html(template2(model));
in the HTML part I added: < d i v id='output'>< / d i v>
thanks
Hi @hyousef, try to add:
document.querySelector('body').innerHTML = template2(model);
Thanks :+1:
did not work :(
sorry, It worked, It lookd the "d" in document was not copied .
Hi Peter,
I added this line to your fiddle, hoping to see the output, but nothing seen, how to make it:
document.querySelector('#output').html(template2(model));
in the HTML part I added: < d i v id='output'>< / d i v>
thanks