create template for question and answer input