The task interface configuration guide describes the features of the HTML/JS/CSS editor. You can also try creating a task interface in the Template Builder.
The task interface defines the visual appearance of the task for the Toloker and the logic for processing task responses.
A user-friendly interface improves the quality of results, helps Tolokers complete tasks faster, and lets you set a lower price per task.
To learn how to create a user-friendly interface, read the article in our knowledge base.
To open the HTML, CSS, and JS blocks in the interface, click the block name on the right.
Add elements for the input and output data to display in the task interface in this block. You can use special components or HTML tags inside the <body>
tag.
Handlebars is used as a template engine for HTML.
In the JS block, you can add rules for response processing in JavaScript. Special extensions for task classes are available for this purpose.
You can also connect JavaScript libraries to create the interface. For example, if you have several projects with similar tasks, save the method descriptions in a separate file and add it as a library.
To connect the JavaScript library, click the button in the Task interface block and add links to libraries in the JS field.
In the CSS block, you can declare the design for tags and classes. For example, the indent at the bottom after a text field with the task-text
class:
.task-text{ margin-bottom: 15px;};
In addition, you can connect a CSS library. To do this, click the button in the Task interface block and add links to libraries in the CSS filed.
Changes to the input and output data, as well as the number of tasks per suite aren't saved after you exit Preview.
To view the resulting task, click Preview task. The preview shows a page with a task that contains standard data. Change the input data and make sure that images, links, or text are displayed correctly on the task suite. You can also complete one or more tasks and get responses.
To change the set of controls, click Show common interface elements at the bottom of the Task Interface section.
By default, the task suite displays:
Remaining time: Counts down the time for completing the task.
Price per task suite.
Task name: Corresponds to the project name.
The following buttons:
Contact requester button.
Instructions.
Fullscreen.
Submit.
Skip.
Exit.
Read the article on how to make the task interface intuitive and user-friendly.
Learn more about how to set up a project:
Last updated:Â June 19, 2023