THE DEV BENCH
📑 TOMLmedium

4. A [table]

Create a `[server]` table holding two keys: • host — the string "localhost" • port — the number 5432

How to approach this

A `[table]` header opens a section: every `key = value` BELOW it (until the next header) belongs to that table. So under `[server]`, `host = "localhost"` becomes `server.host`. This is how TOML nests without indentation.

config.toml