| nav: | Vals |
|---|---|
| title: | Overview |
| description: | Learn about the basics of Vals |
Vals are the building blocks of Val Town. They can be used to create APIs, crons, websites, and email handlers with JavaScript.
A val is a collaborative, versioned folder of deployed code. It includes everything you need to run code in the cloud, including:
There are 3 types of triggers that JavaScript files within a val can have:
Every file change is automatically versioned. Rollbacks are instantaneous. You can create branches and remixes for development and collaborating.