![]() |
VOOZH | about |
Follow these simple steps in order to make a Web-based Weather Application Using OpenWeatherMap API.
Step 1: Make your account in OpenWeatherMap for accessing their API for our project. Create an Account. It's totally FREE. After making an account you will get a default key just note/copy that key because we will use it for our feature steps.
Step 2: Write down the following HTML code in the MainPage.html file. You can choose any name for the file.
Filename: MainPage.html
Explanation:
Step 3: Write down the following CSS for making the looks of the web-page more attractive.
Filename: PageStyle.css
Explanation:
Step 4: This is the main file of our whole project which will bring the Location of our present location and using API get the data of our location and print in the web-page.
Filename: JSPage.js
Explanation:
Step 5: Now just open MainPage.html file in any browser and you will see the following output.
Reference: https://github.com/Sukarnascience/Web_Application/tree/main/Weather%20Report%20Application