Question templates: create, tag, and filter
Templates help you organize and discover questions more easily. You can group related questions under a template, then use that template to quickly filter and locate questions — both in the Library and while building a test in FaceCode.
What are templates?- Templates are created and managed in the Library.
- Templates can only be added to published questions.
- A single template can be linked to multiple questions, and a single question can be linked to multiple templates.
- Open the Library on your HackerEarth account.
- Click on any published question to open it.
- Click Save to template (top right of the question view).
- In the Add to templates panel that opens, you can:
- Check one or more existing templates to add this question to them, or
- Click + Create new template, enter a name, and click Create. The new template will now appear in the list and gets applied to the question.

- In the Library, go to the filters panel on the left.
- Scroll down to the Templates section.
- Click Choose templates to open the dropdown, and select one or more templates.
-png.png?width=150&height=341&name=image%20(18)-png.png)
- Confirm your selection (using Apply, in the same pattern used by other multi-select filters in the Library).

- The question list updates to show only questions tagged with the selected template(s).
The same template-based filter is now available in FaceCode, so you can quickly find and add questions created from templates in the Library while building a test.
- In FaceCode, open Choose from library.
- In the left panel, under Templates, select one or more templates to filter by.
- The question list on the right updates to show only questions belonging to the selected template(s).
-png-1.png?width=2290&height=1190&name=image%20(17)-png-1.png)