# How to add Flags with the countries in the Switcher?

You can use the following HTML snippet to display country flags alongside country names in the switcher:

```
<span class='fi fi-[country-code]'></span>
```

Replace `[country-code]` with the appropriate [two-letter ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). For example:

* For the **United States**, use `'us'`:\
  `<span class='fi fi-us'></span>`
* For **Canada**, use `'ca'`:\
  `<span class='fi fi-ca'></span>`

This will render the respective country's flag in the switcher.


---

# 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://help.spicegems.com/geoip-country-redirect/general-faqs/how-to-add-flags-with-the-countries-in-the-switcher.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.
