# Getting Started with the FX

This guide demonstrates how to get up and running with the Kendo UI for jQuery FX.

After the completion of this guide, you will be able to achieve the following end result:

```dojo
<div id="foo">
    I will be faded out and zoomed out.
</div>

<script>
    var effectWrapper = kendo.fx($("#foo"));
    var fadeOutEffect = effectWrapper.fadeOut();
    fadeOutEffect.add(effectWrapper.zoomOut());
    fadeOutEffect.play();
</script>
```

## 1. Create the FX instance

To create the FX instances, use the jQuery `kendo.fx` selector wrapper.

```html
<div id="foo">
    I will be animated
</div>

<script>
    var effectWrapper = kendo.fx($("#foo"));
</script>
```

Once the basic initialization is completed, you can start applying effects to the FX.

## 2. Apply Effects

In this step, you will apply the [`fadeOut`](https://www.telerik.com/kendo-jquery-ui/documentation/api/effects/fade) and the [`zoomOut`](https://www.telerik.com/kendo-jquery-ui/documentation/api/effects/zoom) effects.

```dojo
<div id="foo">
    I will be animated
</div>

<script>
    var effectWrapper = kendo.fx($("#foo"));
    var fadeOutEffect = effectWrapper.fadeOut(); // Apply fade out effect.
    fadeOutEffect.add(effectWrapper.zoomOut()); // Apply zoom out effect.
</script>
```

See the [FX API reference](https://www.telerik.com/kendo-jquery-ui/documentation/api/effects/common) for more available effects.

## 3. Play Effects

In this step, you will play the effects.

```dojo
<div id="foo">
    I will be faded out and zoomed out.
</div>

<script>
    var effectWrapper = kendo.fx($("#foo"));
    var fadeOutEffect = effectWrapper.fadeOut();
    fadeOutEffect.add(effectWrapper.zoomOut());
    fadeOutEffect.play(); // Play the effects.
</script>
```

## Next Steps

* [Referencing Existing Component Instances](https://www.telerik.com/kendo-jquery-ui/documentation/intro/widget-basics/events-and-methods)
* [Demo Page for the FX](https://docs.telerik.com/kendo-ui/controls/fx/overview)

## See Also

* [JavaScript API Reference of the FX](https://www.telerik.com/kendo-jquery-ui/documentation/api/effects/common)
* [Knowledge Base Section](https://www.telerik.com/kendo-jquery-ui/documentation/knowledge-base)
