Master fundamental JavaScript concepts while building an interactive text adventure game. Learn to write code using variables, control structures, and functions, organize data with arrays and objects, and implement basic debugging techniques – establishing a solid foundation for your JavaScript journey.



Introduction to JavaScript Programming
This course is part of Microsoft JavaScript Starter Kit Professional Certificate

Instructor: Microsoft
Included with
Recommended experience
Skills you'll gain
Details to know

Add to your LinkedIn profile
12 assignments
See how employees at top companies are mastering in-demand skills

Build your Mobile and Web Development expertise
- 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 from Microsoft


Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

There are 4 modules in this course
This first module introduces you to the world of JavaScript programming through hands-on practice. You'll set up your development environment, learn about essential data types, and implement basic operations - the fundamental building blocks of any program. From writing your first lines of code to creating variables that store different types of information and performing calculations, you'll develop the core skills used in real applications. Along the way, you'll begin building your text adventure game project, creating character stats and setting up the foundation for more advanced game mechanics in future modules.
What's included
4 readings3 assignments3 ungraded labs4 plugins
This module focuses on decision-making and repetition in programming - essential concepts that bring your code to life. You'll learn how to implement conditional statements to create different execution paths based on specific conditions, construct loops to automate repetitive tasks, and implement error handling to create robust programs. Through these techniques, you'll significantly enhance your text adventure game by adding branching story paths, combat mechanics, and player input validation, creating a more dynamic and interactive experience for players.
What's included
3 readings3 assignments4 ungraded labs3 plugins
This module introduces you to functions - reusable blocks of code that bring structure and efficiency to your programs. You'll learn how to write and execute functions with parameters and return values, design functions to process specific inputs, and implement professional code organization techniques. As you apply these concepts to your adventure game, you'll create command systems for movement, combat, and item usage, transforming your code into a well-structured program that's easier to understand, maintain, and expand.
What's included
4 readings3 assignments3 ungraded labs1 plugin
This module explores data collections and complex data structures, essential for managing groups of related information. You'll learn to create and manipulate arrays for storing collections of items, build objects with properties to model real-world entities, and combine these structures to create sophisticated data relationships. Through practical application in your adventure game, you'll implement a complete inventory system, create detailed item objects, and integrate all course concepts to complete your text adventure game, resulting in a portfolio-ready project that showcases your JavaScript fundamentals.
What's included
4 readings3 assignments1 programming assignment2 ungraded labs3 plugins
Explore more from Mobile and Web Development
Microsoft
Microsoft
Why people choose Coursera for their career




New to Mobile and Web Development? Start here.

Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
Access to lectures and assignments depends on your type of enrollment. If you take a course in audit mode, you will be able to see most course materials for free. To access graded assignments and to earn a Certificate, you will need to purchase the Certificate experience, during or after your audit. If you don't see the audit option:
The course may not offer an audit option. 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.
When you enroll in the course, you get access to all of the courses in the Certificate, 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. If you only want to read and view the course content, you can audit the course for free.
If you subscribed, you get a 7-day free trial during which you can cancel at no penalty. After that, we don’t give refunds, but you can cancel your subscription at any time. See our full refund policy.
More questions
Financial aid available,