When you enroll in this course, you'll also be asked to select a specific program.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate
There is 1 module in this course
This course introduces you to the fundamentals of asynchronous JavaScript through hands-on challenges and an engaging project.
You will start by learning the basics of callback functions and progress towards understanding promises, method chaining, and the power of async/await.
Along the way, you'll apply these concepts in practical coding challenges, such as building a fully functional "War" card game, complete with features such as scoring, card drawing, and a final winner display.
The course also explores custom JavaScript functions, the fetch API, and real-world scenarios involving asynchronous code. By the end, you'll have a strong foundation in asynchronous programming, ready to tackle more advanced JavaScript projects.
This course provides a comprehensive introduction to asynchronous JavaScript, focusing on key concepts such as callbacks, promises, and async/await, while guiding learners through building hands-on projects like a "War" card game to apply their skills in a real-world scenario.
What's included
1 assignment30 plugins
Show info about module content
1 assignment•Total 30 minutes
API Basics 3: Async JavaScript (Callbacks & Promises) Assignment•30 minutes
30 plugins•Total 198 minutes
Welcome to interactive lessons!•1 minute
Async JS Intro & War Project•7 minutes
Callbacks Setup Challenge•2 minutes
Callback functions intro•4 minutes
Separate event listener callback•3 minutes
Callbacks - revisiting setTimeout•4 minutes
Callbacks - revisiting array.filter•7 minutes
Callbacks - make own filterArray function•60 minutes
Callbacks - put our custom filterArray function to use•4 minutes
Thought experiment: what if `fetch` used callbacks?•2 minutes
Promises•5 minutes
Context: method chaining•7 minutes
Promises - .then() chaining•3 minutes
Promises - .then()•2 minutes
Promises - passing basic values in the chain•5 minutes
War - save deckId for later use•2 minutes
War - draw 2 cards from our deck•6 minutes
War - Display our card images•4 minutes
War - Styling part 1•8 minutes
War - Styling part 2•7 minutes
War - Refactor card image placement•6 minutes
War - Determine the winning card part 1•9 minutes
War - Determine winning card part 2•6 minutes
War - display remaining cards when drawing•7 minutes
War - Display remaining cards on new deck•2 minutes
War - Disable the draw button when we get to 0 cards remaining•4 minutes
War - Keep score•5 minutes
War - Display the final winner•5 minutes
A quick look at Async/Await•7 minutes
Section Recap•4 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Scrimba is an interactive code-learning platform with over a million users from all over the world. They feature highly interactive and engaging courses about programming and web development.
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 subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. 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.