Activity 4

Presentation

Presentation Video

Starter Code - index.html

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

Starter Code - application.py

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

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

Last updated

Was this helpful?