Files
flask-practice/templates/weather.html
2025-01-22 09:36:50 -06:00

8 lines
327 B
HTML

{% extends "base.html" %}
{% block content %}
<h1>Current Weather</h1>
<p>Temperature: {{ temperature }} {{ temperature_unit }} | {{(temperature * 9/5) + 32}}°F</p>
<p>Wind Speed: {{ wind_speed }} {{ wind_speed_unit }}</p>
<p>Wind Direction: {{ wind_direction }} {{ wind_direction_unit }}</p>
{% endblock %}