# 5. The Frontend

You have the power of a thousand suns in your browser, needless to say, you can get burned!

It is in our best interest to understand browsers and the roles which technologies that run within them can play and should play. As those are two very different things. Users can be exposed to unpleasant security vulnerabilities if tasks that belong to the backend are thoughtlessly delegated to the frontend.

Let's get started.


---

# 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://shoppinpal.gitbook.io/docs-shoppinpal-com/5.-the-frontend.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.
