The "AJAX for Web Developers" course explores how modern websites update parts of a web page without the need to reload the entire page, providing a fluid and fast user experience. This course covers the relationship between client apps or websites and servers, the distinction between full page loads and AJAX, and the best use-cases for each. We will delve into Javascript's Fetch API, modern Async/Await syntax, and the benefits of using the Axios module to streamline the process of making requests to a server and handling the response. The course also introduces JSON as a data exchange format for clients and servers, explaining how to encode and decode JSON, error-handling for AJAX requests, and crucial security best practices for AJAX. By the end of the course, you'll be ready to interact confidently with a live API and update elements on the page via AJAX.
In this introductory lesson, students will learn about the relationship between client applications and servers, the difference between full page loads and AJAX, the benefits and drawbacks of AJAX, and which scenarios would benefit from AJAX.
What's included
4 videos2 readings1 assignment
Show info about module content
4 videos•Total 22 minutes
Course Introduction•2 minutes
Introduction - What is AJAX?•7 minutes
AJAX Examples•3 minutes
Anatomy of HTTP Requests and HTTP responses•10 minutes
2 readings•Total 20 minutes
Welcome to Course•10 minutes
When should you use AJAX versus a full page load?•10 minutes
1 assignment•Total 30 minutes
Quiz: AJAX versus full page loads•30 minutes
Lesson 2
Module 2•1 hour to complete
Module details
Building upon the foundation laid out in lesson 1, students will explore the current approaches to making AJAX requests to a remote API, as well as the evolution of AJAX techniques in recent years. Finally, they'll get an introduction to the Axios module, which simplifies the process of making requests in a modern Javascript environment.
What's included
4 videos1 reading1 assignment
Show info about module content
4 videos•Total 19 minutes
Javascript promises recap: asynchronous requests that don't freeze the browser•5 minutes
AJAX requests using Javascript's Fetch API and traditional promises•5 minutes
Encoding and decoding JSON data•4 minutes
Updating elements on the page based on returned JSON•5 minutes
1 reading•Total 10 minutes
Interpreting JSON Examples•10 minutes
1 assignment•Total 30 minutes
Quiz: Making AJAX requests•30 minutes
Lesson 3
Module 3•1 hour to complete
Module details
In this final lesson, learners will develop the ability to process server/API responses in JSON, including error handling, security best practices, and translating a JSON response into updated elements on the web page
What's included
4 videos1 reading2 assignments
Show info about module content
4 videos•Total 17 minutes
AJAX requests using Javascript's Async and Await•4 minutes
Robust AJAX requests using the Axios module•3 minutes
Error handling in AJAX•3 minutes
Security best practices•7 minutes
1 reading•Total 10 minutes
Comparison of AJAX methods•10 minutes
2 assignments•Total 45 minutes
Graded Assessment: Interacting with a live API using AJAX•15 minutes
Coursera brings together a diverse network of subject matter experts who have demonstrated their expertise through professional industry experience or strong academic backgrounds. These instructors design and teach courses that make practical, career-relevant skills accessible to learners worldwide.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I purchase the Certificate?
When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.