# Word of the day card

> Canonical HTML: https://screenrig.ai/docs/cards/word-of-the-day/

The word of the day or the problem of the day: a big word with how to say it, what it means and a sentence, or a problem with a hint and an answer that appears when the teacher says.

Category: Schools. Tags: Schools and campuses, Lobbies and reception.

## Previews

![Word of the day](/cards/word-of-the-day/v1/screenshots/canvas-bloom.webp?sha=7b757041d2fae359007eb9515a2d9cb795b550240da807f999b0123bb99aea8e)

Canvas

![Word of the day](/cards/word-of-the-day/v1/screenshots/corner-bloom.webp?sha=c83d677b86eda59dc5ef0b5b77adc66a3bd742a2a767f55e57f47fbaf123f26c)

Corner

![Word of the day](/cards/word-of-the-day/v1/screenshots/chip-bloom.webp?sha=bf7d5b76452e6e058a6c4d7642658b28f7d35606f8e25b89128f0b5a1def472a)

Chip

## Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

[Card views, themes and publishing](/docs/cards/). [Browse the gallery](/apps/#cards).

## Data and privacy

This card uses its configured properties and live card data.

## Properties

For theme, background, accent and position, see [Common properties](/docs/cards/#common-properties).

Set static properties in `params`. Bind `data` to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in `params`. Nested rows describe the contents of their parent property.

### Static properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `showDate` | boolean | `true` |  |  |
| `hour12` | boolean | `false` |  |  |
| `timeZone` | string, null | `null` |  |  |

### Dynamic properties

| Name | Type | Default | Values and limits | Description |
| --- | --- | --- | --- | --- |
| `mode` | string | `"word"` | `"word"`, `"problem"` | word shows the word of the day; problem shows the problem of the day. |
| `title` | string | `""` | maxLength: `40` | The heading. Empty: Word of the day, or Problem of the day. |
| `word` | string | `""` | maxLength: `30` |  |
| `pronunciation` | string | `""` | maxLength: `30` | How to say it, for example AD-ven-cher. |
| `partOfSpeech` | string | `""` | maxLength: `20` | noun, verb, adjective and so on. |
| `definition` | string | `""` | maxLength: `160` | What it means, in words a child knows. |
| `sentence` | string | `""` | maxLength: `160` | The word used in a sentence. |
| `icon` | string | `"none"` | `"none"`, `"star"`, `"sparkles"`, `"lightbulb"`, `"leaf-01"`, `"sun-03"`, `"moon-02"`, `"droplet"`, `"favourite"`, `"music-note-01"`, `"apple"`, `"restaurant-01"`, `"walking"`, `"volleyball"`, `"basketball-01"`, `"rocket-01"`, `"trophy"`, `"party"`, `"gift"`, `"home-01"`, `"bus-01"`, `"bell-ring"`, `"megaphone-01"`, `"message-01"`, `"news-01"`, `"target-02"`, `"hourglass"`, `"fire"`, `"snowflake"`, `"humidity"`, `"wrench-01"`, `"globe-02"`, `"camera-01"`, `"medal-first-place"`, `"user-group"` | A picture for the word. |
| `problem` | string | `""` | maxLength: `200` | The problem of the day, for example 12 + 7 = ? |
| `hint` | string | `""` | maxLength: `80` |  |
| `answer` | string | `""` | maxLength: `60` |  |
| `showAnswer` | boolean | `false` |  | True shows the answer now. |
| `revealAt` | string | `""` | maxLength: `40` | ISO 8601 instant the answer appears (a time without an offset is wall time in the screen's zone). Until then the card says when. |

## Canvas example

Add this item to a playlist page’s `primitives`. [Publish the playlist and assign a screen](/docs/cards/#publish-a-card-canvas).

```json
{
  "id": "word-of-the-day",
  "primitive": "card",
  "card": "word-of-the-day",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "word-of-the-day-main"
}
```

## Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see [API authentication](/docs/authentication/).

```console
curl --request PUT "https://api.screenrig.ai/api/card-data/word-of-the-day-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"mode":"word","title":"","word":"","pronunciation":"","partOfSpeech":"","definition":"","sentence":"","icon":"none","problem":"","hint":"","answer":"","showAnswer":false,"revealAt":""}}'
```
