building up a front end from a single HTML file