# Simple javascript code that creates a webpage

**URL:** <https://forum.kirupa.com/t/simple-javascript-code-that-creates-a-webpage/104219>\
**Category:** Uncategorized\
**Created:** [March 13, 2004, 7:26pm UTC](https://forum.kirupa.com/t/simple-javascript-code-that-creates-a-webpage/104219 "2004-03-13T19:26:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlk](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mlk](https://forum.kirupa.com/u/mlk)\
**Post date:** [March 13, 2004, 7:26pm UTC](https://forum.kirupa.com/t/simple-javascript-code-that-creates-a-webpage/104219/1 "2004-03-13T19:26:29Z")

</div>

Id like to run a very stupid script that will simply create this type of file:

1. 

text  
text  
text

1. 

text  
text  
text

1. 

text  
text  
text

… etc

It’s not the simple loop which bugs me but rather how to set up the javascript so it will create this while the page loads… How can i do it ?

Thnax

mlk
