https://weather.widget.info this site will help you to understand the codes very well, because there they are in the public domain, but this is not their main task. Thanks to this site you can create a widget with weather forecast for your website or application, the design you create yourself, and the time and location will be set automatically. The site will support your widget free of charge. I am sure that this site will be useful to you in learning programming skills.