# #3 Overriding a file

{% embed url="<https://youtu.be/Oi45D1r1DUs>" %}
How to override a file
{% endembed %}

In this tutorial we will showcase and talk about following topics:

* [Themes and parent themes](https://docs.create-scandipwa-app.com/themes/extensions-and-themes) (link to Create ScandiPWA App documentation)
* [File overrides](https://docs.create-scandipwa-app.com/themes/parent-themes) (link to Create ScandiPWA App documentation)

As well as from this documentation:

{% content-ref url="/pages/-MNcP\_Mzb\_fzWwn4SQ1y" %}
[Overriding JavaScript](/developing-with-scandi/override-mechanism/extending-javascript.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MNcRT69Hjndi55WsIsz" %}
[Overriding Styles](/developing-with-scandi/override-mechanism/extending-styles.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MOjieryc8iY8bkRdoj8" %}
[Overriding the HTML / PHP](/developing-with-scandi/override-mechanism/overriding-the-index-file.md)
{% endcontent-ref %}


---

# 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.scandipwa.com/tutorials/video-tutorials/overriding-a-file.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.
