Build A Weather App With Ajax Using Open Weather Map API
- Description
- Curriculum
- FAQ
- Reviews
API stands for Application Programming Interface. API is basically a way for programmers to communicate with certain applications.Ā The use of APIs in building applications is becoming increasingly popular.Ā
In this course, we will build a complete weather app using the open weather map API. Open weather map API is simple, clear and free to use. Open weather mapĀ APIĀ provides current weather data, weather forecast data as well as historical weather data.
With our application, we will make API calls by city nameĀ to the open weather map API using Ajax to get response in JSON format.
The weather app will be used to:
- Get current weather information like temperature, pressure, humidity, wind speed, windĀ direction etc.
- Get weather forecast information of any city by city name and number of days.
Features:
- Make API calls with Ajax.
- Open weather map API description.
- Get current weather information.
- Get weather forecast information.
- Use jquery plugin to animate text.
-
1Introduction
Welcome message
-
2Web App Structure
Description of structure of application.
-
3Create Project
Create project and add index page
-
4Add Bootstrap Navbar to Index Page
Add bootstrap navbar to index page
-
5Add Styles to Navbar
Add css styles to bootstrap navbar
-
6Add Weather App Logo
Add and style the weatherĀ app logo
-
7Add Background Image to Index Page
Add background image to the index page
-
8Style Text on Background Image
Add css styles to text on background image
-
9Section Intro
Section Introduction
-
10Current Weather HTML Page
Add the html page to display current weather data
-
11Style Bootstrap Jumbotron
Add css styles to jumbotron on current html page
-
12API Description
Brief description of API
-
13Introduction to Open Weather Map API
Introduction and description of open weather map API
-
14Current Weather Ajax Request
Jquery Ajax request for current weather data
-
15Display Current Weather Data
Display results for current weather dataĀ
-
16Add Units To Results
Add respective units to weather data
-
17Style Error Message
Add bootstrap alert class to error message
-
18Add Footer
Add page footer to current html page
-
19Style Current Weather Data Result Tag
Add css styles to the result div for current weather data
-
20Reduce Footer Margin
Reduce margin top from footer
-
21Display Current Weather Icon
Add and display weather icons for current weather data
-
22Conclusion
Section conclusion
-
23Section Intro
Section Introduction
-
24Forecast Weather HTML Page
Add weather forecast html page
-
25Description of Open Weather Map Forecast API
Description of open weather map for weather forecast
-
26Weather Forecast Results Table
Add weatherĀ forecast results table head
-
27Weather Forecast Ajax Request
Jquery Ajax request for weather forecast
-
28Dynamically Add Forecast Results to Table Data
Add forecast results to table data
-
29Display Weather Forecast Icons
Display weather forecast icons in result table
-
30Display City Name and Country Code
Display city name and country code on results page
-
31Add CSS Styles To Table
Add css styles to results table
-
32Increase Height of Container Div
Increase height of div with class container in the forecast html page
-
33Weather Forecast Update (NEW) - Part 1
-
34Weather Forecast Update (NEW) - Part 2
-
35Conclusion
Section conclusion
Social Network