# Compare Ingredients

## Adding Ingredients

To compare ingredients, you need to add ingredients that you want to compare. Below are the ways to add ingredients

### 1. Add ingredients through the Ingredients Page

You need to be on the ingredients page. Click [here ](/animal-diet-formulator/ingredients.md)to learn how to go to the ingredients page.

On the ingredients page, click the three vertical dots to view the item menu. See the image below.

<figure><img src="/files/gybm0h2Yylq9g1e9tm20" alt=""><figcaption></figcaption></figure>

Select the Add to Compare options from the dropdown menu.&#x20;

<figure><img src="/files/tKrCcHVUWp4r6HNJTI40" alt=""><figcaption></figcaption></figure>

This action will add the ingredient to the list of ingredients to compare. A pop-up message will prompt you if you want to proceed to view the ingredients that you want to compare.&#x20;

<figure><img src="/files/0ceZcTzACZAe5qfr1wXO" alt=""><figcaption></figcaption></figure>

### 2. Add Ingredients while Formulating Recipes using the Ingredients Section panel

While on the formulation page, you can select ingredients from your recipe to compare. You can find the ingredients in the [Ingredients Section](/animal-diet-formulator/recipes/formulation.md#ingredients-section).&#x20;

<figure><img src="/files/zfPn7wGPXOBa34oXJNcg" alt=""><figcaption></figcaption></figure>

Click [here](/animal-diet-formulator/recipes/recipe-ingredients.md#add-to-compare-ingredients) to learn more about how to add the ingredients for comparison.

### 3. Add Ingredients while Searching for Ingredients to add or adjust.

While searching for ingredients to add to your recipe, you can also add them to compare. Use the same steps as in [Action 1.](#1.-add-ingredients-through-the-ingredients-page)&#x20;

## Compare Ingredients

Once you add an ingredient, the software will prompt you if you want to open the Compare Ingredients. If you selected no, you can still open the Compare Ingredients Modal from the Main Menu Item.&#x20;

&#x20;&#x20;

<figure><img src="/files/YaE51kxuxrL5gE1spoRq" alt=""><figcaption></figcaption></figure>

The item menu will show an indicator if there are ingredients that you can compare.  Clicking the menu item opens the Compare Ingredients Modal. See the image below.

<figure><img src="/files/AZLko1gxtIvPVkKNMMqc" alt=""><figcaption></figcaption></figure>

1. Instruction Icon Button
   * Clicking this icon will provide more details on how to use the Compare Ingredients Modal.&#x20;
2. Search Bar
   * Provide the name of the nutrient that you want to compare. This will filter the nutrients instead of scrolling the whole page.&#x20;
3. Name of the Ingredient
   * Double-click the ingredient to remove the item from the list of ingredients to compare
4. Remove All button
   * Click the button to remove all the ingredients.
5. Close button
   * Click the button to close the Compare Ingredients Modal.


---

# 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://docs.animaldietformulator.com/animal-diet-formulator/compare-ingredients.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.
