# Activity 4

## Presentation

{% embed url="<https://docs.google.com/presentation/d/1OPzX7GBrU30Kq9f4FjYkNVGJZ_pVlX0WCWd73h0GxEQ/edit?usp=sharing>" %}

## Presentation Video

{% embed url="<https://youtu.be/Ubu9ru4E3IY>" %}

## Starter Code - index.html

```markup
<!DOCTYPE html>
<html>
    <head>
        <title>hello, world!</title>
    </head>
    <body>
        Welcome to Activity 4!
    </body>
</html>
```

## Starter Code - application.py

```python
from flask import Flask, render_template
app = Flask(__name__)

@app.route("/")
def index():
    return render_template('index.html')
```


---

# 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://www.advancedpython.net/day-4/activity-4.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.
