create the index page with elements