added logic for the html/css templates prompts.