← Back to support

What are Layouts?

What layouts are

Layouts are templates that tell AlgoApp how to turn the fields in a card into what you actually see during review.

Most decks start with a standard front-to-back layout, and many also include a back-to-front layout.

What layouts are good for

Use layouts when you want to:

  • study the same information in more than one direction
  • change the appearance of cards
  • build advanced cards for code, TeX, language study, and other custom formats

What you can edit in a layout

A layout usually includes:

  • a name
  • the available fields
  • front-side HTML
  • back-side HTML
  • CSS styling
  • a preview

Common syntax

Use field placeholders such as:

{{front}}

On the back side, you can include the front side like this:

{{FrontSide}}
<hr />
{{back}}

How to open layouts

Open a deck, then open the menu and choose "Layouts".

Important

Layouts are an advanced feature. If you are not comfortable with HTML and CSS, the built-in layouts are usually the best place to start.