How m-sekret/pogoda-demo works
This is a small educational weather website for Odesa, using artificial weather data. The sampled script fetches the JSON data and writes the city and current temperature into the page element with ID current-weather. The HTML and CSS were not sampled, so their wiring and presentation details are not inferred.
Main entry points: script.js Weather script · index.html Weather page · weather.json Weather data
Components 4
Other components
- Visitor
- Weather page
index.html - Weather script
js/script.js - Weather data
data/weather.json
Connections 3
- Visitor → Weather page: opens
- Weather script → Weather data: fetches
- Weather script → Weather page: updates