# Activity 7

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

## Video Presentation

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

## Starter Code - application.py

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

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

@app.route("/friends")
@app.route("/friends/<name>")
def friends(name=None):
    return "friends function default"

```

## Starter Code - index.html

```markup
<!DOCTYPE html>
<html>
    <head>
        <title>Welcome to Activity 7</title>
    </head>
    <body>
        Welcome to Activity 7!
        <P>
        <h1>Friends</h1>
        <li>
        <li>
        <li>
    </body>
</html>
```

## Starter Code - friends.html

```markup
<!DOCTYPE html>
<html>
    <head>
        <title>{{name}}</title>
    </head>
    <body>
        <h1>{{name}}</h1>
    </body>
</html>
```
