

JavaScript Modules
Presentation
•
Computers
•
Professional Development
•
Medium
Lazaro Alsina
Used 22+ times
FREE Resource
9 Slides • 6 Questions
1
JavaScript Modules
Welcome to introduction to Node, and browsers runtime environment.
As well as what are modules!

2
Browsers Runtime Environment
Using JavaScript on your browser.
3
Browser Runtime Env
The code we have been running relies on an environment. The most common one, known as the front end, is the browser.
The issue here is we need the browser to run Javascript or use other programming languages like Java or PHP.
Thank to NODE, this had changed.
4
The power of Javascript expanded
The Node environment allows us to create code without a browser, meaning we can create full-stack software.
As you can see, this code to your right is running on a PowerShell!
5
Multiple Choice
Javascript can only be run on a browser.
True
False
6
7
The power of flexible and reusable code.
Modules allow us to add code in a special way. It allows us to segment our programs in a way that allows us to work more effectively in groups and debug our code.
It would be nice if someone who is amazing with math, makes all the math modules we need for our program. While we focus on other parts like the database module!
8
Benefits of using Modules
Compose Software: Using modules like lego blocks, building parts of the program. E.G, we have a team of programmers; one builds the house, another builds a car.
Isolate components: The programmers can build the module that needed for the project without usually thinking about the entire codebase. E.G, one programmer makes a lego car, there no need for him/her/they to worry about the housing module yet...
Organized code: Modules tend to be more organized for the main codebase.
Reuse code: Modules make it really easy to reuse the same code, even one more than one project.
9
Fill in the Blanks
Type answer...
10
Demo Time
On slide 4, we used node to run the meal maker. It would be a waste not to use it again in a new program that I like to call the Meal of the day!
11
Multiple Choice
How Node.js modules are available externally
module.exports
module.spread
module.expose
none of the above
12
Multiple Choice
Which function is used to include the modules in Node.js
include();
require();
attach();
None of the above
13
Multiple Choice
Who made node.js?
Hampton Catlin
Ryan Dahl
Isaac Z. Schlueter
GitHub
14
Poll
How do you feel?
Comfortable
Stretch
Panic
15

CodecademyMini Arrow Down Icon
You can open this webpage in a new tab.
JavaScript Modules
Welcome to introduction to Node, and browsers runtime environment.
As well as what are modules!

Show answer
Auto Play
Slide 1 / 15
SLIDE
Similar Resources on Wayground
9 questions
Principles of Information security
Presentation
•
Professional Development
12 questions
SUBJECT PRONOUNS
Presentation
•
Professional Development
12 questions
MAC 2_Lesson 8_Listening
Presentation
•
Professional Development
12 questions
Anne Frank Character Change
Presentation
•
6th - 9th Grade
11 questions
Virtual Reality
Presentation
•
Professional Development
11 questions
Reading News Online
Presentation
•
5th Grade
12 questions
Sosialisasi Akun Belajar.id
Presentation
•
Professional Development
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade