JavaScript Modules
Split JavaScript into ES modules with imports, exports and a simple build step.
What you'll learn
- Use named and default exports
- Organize a project into modules
- Load code on demand with dynamic import()
- Bundle a project with Vite
About this course
You take a single long script and break it into modules. You learn named and default exports, dynamic import and how Vite bundles modules for production.
Course curriculum
4 modules and 12 lessons over 3 weeks. Plan for about 9 learning hours.
01Module basicsWeek 1 · 3 lessons
- type=module scripts
- Named exports
- Default exports
02StructureWeek 1 · 3 lessons
- Splitting by feature
- Shared utilities
- Avoiding circular imports
03LoadingWeek 2 · 3 lessons
- Dynamic import()
- Code splitting
- Module caching
04BundlingWeek 3 · 3 lessons
- Vite setup
- Production build
- Refactor exercise
Project
Modular refactor. A single-file to-do app split into ES modules and bundled with Vite.
Who this course is for
Learners whose JavaScript files have grown hard to manage.
Prerequisites
You write JavaScript functions and work with the DOM.
What's included
- 120-day course access
- Step-by-step lessons
- Practice files
- Reusable code templates
- A graded final exercise
- A digital completion certificate
Learning format
Self-paced practical course, part of our self-paced courses. Graded final exercise with written feedback.
Access and delivery
- Enrollment is activated within 15 minutes after payment.
- Final exercise feedback is delivered within 2 business days of submission, and the completion certificate is issued within 2 business days after passing the final exercise.
Certificate
You receive a digital completion certificate. Final exercise feedback is delivered within 2 business days of submission, and the completion certificate is issued within 2 business days after passing the final exercise.
Frequently asked questions
When does access start?
Enrollment is activated within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for self-paced course programs.