I can't seem to find the issue here... I can't get the images on the webpage to show up. When I inspect the webpage, the image file location seems to be correct. Anyways, here is my code: HTML:
<body>
{% for key, value in team.items() -%}
<h1>{{ value }}</h1>
<img src="{{value}}.png" alt="{{ value }}">
{% endfor %}
</body>
Python:
app = Flask(__name__)
@app.route("/")
def main_page():
return render_template("index.html",team=okc)
if __name__ == "__main__":
app.run(debug=True)
Any help is appreciated! :)