# Front End Development

In developing your user interface, the majority of your time will be spent creating content in the admin and modifying files from within your custom theme, located in the `[ContentBox Module Home]/themes` directory.

With state-of-the art development tools like [CommandBox](http://commandbox.ortusbooks.com/content/) to assist with scaffolding and dependency management and [Coldbox Elixr](https://github.com/ColdBox/elixir/wiki), it's easy to build out your theme in a fraction of the time it might otherwise take.

## Theme Directory Conventions

A typical theme directory structure might be:

### &#x20;MyAwesomeTheme

#### -  includes

* &#x20;css
* &#x20;fonts
* &#x20;js

#### -  layouts

#### -  templates

#### -  views

#### -  widgets

For more information on the theme directory structure and configuration options see [ContentBox Theme Development](https://contentbox.ortusbooks.com/developing/developing-for-contentbox/front-end-development/theme-development).

## Modularity

In addition, many front-end focused modules and libraries are available on Forgebox and can be installed from the [CommandBox](http://commandbox.ortusbooks.com/content/) CLI and used immediately in your templates, widgets and views. For example, to install a Twitter feed widget for ContentBox, simply run `box install ID=cbwidget-tweetfeed directory=widgets` from your theme directory and it will automatically be available for use in the admin. You may browse the ever-growing list of Forgebox libraries and modules on [the Forgebox site](https://www.coldbox.org/forgebox/) or run `forgebox help` from within CommandBox to begin exploring the available options.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://contentbox.ortusbooks.com/v5.x/font-end-development/front-end-development.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
