User interface

User interface widgets in Crayta games are built using the typical web development trio of HTML, CSS, and JavaScript. These three technologies are used to build most websites and web applications, or at least the portions of web applications that run in a web browser.

Hypertext Markup Language (HTML)
The main purpose of hypertext markup language in user interface design is just to define what visual elements a widget needs to do its job, whether it is just simple blocks for displaying text or numbers, text boxes for entering data, or buttons to perform certain game functions. In essence, HTML is used to create the building blocks of a widget into a hierarchical structure that won't necessarily match its visual structure.

Cascading Style Sheets (CSS)
The language of cascading style sheets is primarily used to set the appearance and style of the elements defined in the HTML, and frequently, their visual layout.

JavaScript
JavaScript is a scripting language used to define the behavior of a widget's elements and how they interact with the user and the game itself.