DOM Manipulation

Hello I’d like to build an easy webpage for DOM Manipulation in JS with these features: 1) A button on the first blank page; 2) at a certain time (let say 6 pm) the page generates other 6 identical web pages with an html input text field on each page; 3) clicking on the button of the first html page a text string is copied and pasted taken from a specific text file on the six pages simultaneously - Can you help me? Thanks