This video will be available to
subscribers on Thu, Sep 25, 2025.
You must be a subscriber to view this video.
Sep 25, 2025
6m:55s

Modules & Imports

Classification
Software Engineering | Languages | JavaScript
Keywords
javascript

About This Episode:

Time to break up the band 🎸—but in the best way possible! In this episode, we’ll see how ES Modules help you split your code into neat, reusable files and then pull them back together with ease.

Here’s what we’ll cover:


📦 What modules are and why they make your code cleaner and more maintainable.
🔀 The difference between named and default exports.
📥 How to import modules into your project like a pro.
🌐 Setting up modules in the browser with type="module" (plus a sneak peek at Node.js).


We’ll walk through a math utility example, exporting functions and constants, then importing them back into main.js for instant reusability.

By the end, you’ll be ready to organize your projects like a seasoned developer, keeping your codebase modular, scalable, and stress-free. 🚀
Bob Cravens

Bob Cravens

Your Instructor
more »
Owner
TekFoundry
Wisconsin
United States
Short Bio:
Bob Cravens is a seasoned technology leader, software architect, and educator with a passion for empowering others through practical, real-world knowledge. As the founder of TekFoundry, Bob has dedicated his career to designing and delivering innovative software solutions that combine cutting-edge technology with elegant simplicity.

At TekCasts, Bob leverages over two decades of experience in software engineering, application architecture, and team leadership to create engaging, high-impact courses for developers and technology professionals. His instructional style is rooted in practical application, offering insights drawn from his extensive background in industries like medical devices and global technology consulting.

Bob’s expertise spans a variety of technologies and methodologies, including PHP/Laravel, FastAPI, and DevOps, as well as architecture best practices and team dynamics. Whether teaching foundational concepts or advanced strategies, he’s passionate about helping others turn complex challenges into streamlined solutions.

When not crafting elegant code or inspiring the next generation of tech innovators, Bob enjoys exploring the intersection of technology, business strategy, and creative problem-solving.